LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   configure daemon not to auto-start (https://www.linuxquestions.org/questions/debian-26/configure-daemon-not-to-auto-start-474357/)

kpachopoulos 08-16-2006 06:25 AM

configure daemon not to auto-start
 
Hi,
how can i configure a daemon not to auto-start?

HappyTux 08-16-2006 08:34 AM

Remove the link in the /etc/rc2.d directory that is used to start it.

farslayer 08-16-2006 02:28 PM

or rename the link in /etc/rc2.d

S indicates a service that will start
K indicates a service that will not start or if it's running will shut down at that run level.

example
/etc/rc2.d/S99gdm - gdm will start at boot
/etc/rc2.d/K99gdm - gdm will NOT start at boot

renaming the link makes it easier to re-enable at a later time if you so desire, imho.

kpachopoulos 08-19-2006 12:03 PM

I think - i am almost sure, that there is also a command for this. If anyone remembers its name...

HappyTux 08-19-2006 12:18 PM

Quote:

Originally Posted by nocturna_gr
I think - i am almost sure, that there is also a command for this. If anyone remembers its name...

update-rc.d


All times are GMT -5. The time now is 04:13 PM.