Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- if ps -p1 | grep systemd ; then
- systemctl enable ActivityListener.service
- systemctl stop ActivityListener.service && systemctl start ActivityListener.service
- else
- initctl start ActivityListener || initctl restart ActivityListener
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement