LinHES Forums http://forums.linhes.org/ |
|
Starting a daemon on bootup. http://forums.linhes.org/viewtopic.php?f=3&t=2 |
Page 1 of 1 |
Author: | cecil [ Fri Sep 19, 2003 7:20 pm ] |
Post subject: | Starting a daemon on bootup. |
By default, KnoppMyth only starts daemons that are needed for MythTV to run. If you'd like have a daemon to automatically start on boot do the following: #update-rc.d daemon defaults Cecil |
Author: | graysky [ Mon Jun 16, 2008 6:56 pm ] |
Post subject: | Re: Starting a daemon on bootup. |
cecil wrote: By default, KnoppMyth only starts daemons that are needed for MythTV to run. If you'd like have a daemon to automatically start on boot do the following:
#update-rc.d daemon defaults Cecil For the newb's, to remove a daemon from the start-up, simply add the word "remove" like so: Code: # update-rc.d remove daemon
|
Author: | Big boy stan [ Tue Jun 17, 2008 9:35 am ] |
Post subject: | |
Is there a way to list the daemons that are being loaded at boot time and maybe even the order that they load in? |
Author: | cjd1 [ Tue Jun 17, 2008 8:07 pm ] |
Post subject: | |
Code: ls /etc/rc5.d
The files that start with a 'S' are loaded on system startup. The files that start with a 'K' are for shutting down. They are run in number order in their file name. |
Author: | cliffsjunk [ Wed Jun 18, 2008 6:50 am ] |
Post subject: | |
cjd1 wrote: Code: ls /etc/rc5.d The files that start with a 'S' are loaded on system startup. The files that start with a 'K' are for shutting down. They are run in number order in their file name. I am pretty sure that the system starts up in single user mode (run level S) then switches to runlevel 5 so a more complete list might be given by: Code: ls -1 /etc/rcS.d/* ; ls -1 /etc/rc5.d/*
|
Author: | tjc [ Wed Jun 18, 2008 8:59 am ] |
Post subject: | |
I was going to say "read the log files!" since most init scripts self identify when run, but looking at the appropriate /etc/rc?.d directories is really the right answer. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |