PDA

View Full Version : How can I add my own command to run at boot?


Artyom
07-31-2009, 12:54 PM
If you are on a Debian/Ubuntu system:

update-rc.d <service> defaults

Run above as root and replace <service> with the service you want to run at boot time. ex: httpd, snmpd, etc.

To remove

update-rc.d -f <service> remove