You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
621 B
20 lines
621 B
on property:persist.vendor.log.mm=1
|
|
mkdir /data/vendor/mm 0700 root system
|
|
mkdir /data/vendor/mm/vmstat 0700 root system
|
|
mkdir /data/vendor/mm/stat 0700 root system
|
|
mkdir /data/vendor/mm/kswapd 0700 root system
|
|
mkdir /data/vendor/mm/kcompactd 0700 root system
|
|
start vendor.mm.logd
|
|
|
|
on property:persist.vendor.log.mm=0
|
|
stop vendor.mm.logd
|
|
|
|
on property:persist.vendor.log.mm=1 && property:persist.vendor.log.mm.interval=*
|
|
restart vendor.mm.logd
|
|
|
|
service vendor.mm.logd /vendor/bin/mm_logd ${persist.vendor.log.mm.interval:-60}
|
|
class main
|
|
user root
|
|
group root system
|
|
disabled
|