LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   set/unset programs to run at startup (https://www.linuxquestions.org/questions/debian-26/set-unset-programs-to-run-at-startup-546547/)

bubazoo 04-16-2007 03:25 PM

set/unset programs to run at startup
 
in Debian Etch, (runleve 3 or 5 don't matter)

how do I set/unset programs to run (or not run) at bootup?

I am used to redhat's

chkconfig --2345 blabla on
chkconfig --2345 blabla off

method.. I almost miss system-config-services :(

and also redhat's

service blabla start
service blabla stop

methods for starting and stopping services running.

how do I do these things in Debian? I have no clue.

I'd google, but have no idea what to google for really. I tried googling for "set program to run at bootop", but that query didn't find much results. hrmm. guess I'm not a very good googlier LOL

thanks

reddazz 04-16-2007 03:50 PM

In Debian, you use update-rc.d e.g. to start a program at boot time
Code:

#update-rc.d servicename defaults
To stop a program from running at boot time,
Code:

#update-rc.d -f servicename remove

bubazoo 04-16-2007 04:50 PM

cool, thanks


All times are GMT -5. The time now is 07:25 PM.