On this page
Linux: Launching Daemons at Boot
Introduction
To launch daemons at boot time, you need to act differently depending on the distribution. But before starting, the script must already exist in /etc/init.d
.
Debian
Here’s the command:
update-rc.d
You can test with the -n
argument:
update-rc.d -n name_of_service defaults
Once you’re ready, execute:
update-rc.d name_of_service defaults
And if you want to remove it:
update-rc.d -f name_of_service remove
Red Hat
Run this command:
ntsysv
A menu will open. It’s up to you to make your choice.
Gentoo
For Gentoo, here’s the procedure:
rc-update add name_of_service default
Last updated 05 May 2009, 07:11 CEST.