Linux services add/remove

Beaglebone:

add the service to autostart:
update-rc.d <servicename> defaults

remove the service:
update-rc.d -f <servicename> remove

 

Raspberry Pi:

as beaglebone, but with sudo in front of the rest, like:

add the service to autostart:
sudo update-rc.d <servicename> defaults

remove the service:
sudo update-rc.d -f <servicename> remove

-max

Skriv et svar

Din e-mailadresse vil ikke blive publiceret. Krævede felter er markeret med *

This site uses Akismet to reduce spam. Learn how your comment data is processed.