Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gohilbhagirath90/30b58eef5429d85159b1365171311f87 to your computer and use it in GitHub Desktop.
Save gohilbhagirath90/30b58eef5429d85159b1365171311f87 to your computer and use it in GitHub Desktop.
===============================================================================
Auto start deamon on stoping
===============================================================================
FILE : ./device/qcom/common/rootdir/etc/init.qcom.rc
# Added deamon_service
service deamon_service /system/bin/deamon
class late_start
user root
oneshot
# If deamon_service stopped then restart deamon_service
on property:init.svc.deamon_service=stopped
start deamon_service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment