Ahh, update-rc.d was what I was thinking of when I typed update-alternatives. What the sequence number do?
--- Rich Puhek <[EMAIL PROTECTED]> wrote: > Also look at the update-rc.d command (see man update-rc.d for > details). > That will allow you to do things like: > > update-rc.d postres start 3 (start postres in runlevel 3) > update-rc.d postres stop 50 6 (stop postres at sequence 50 in > runlevel > 6) > > --Rich > > > Alan Chen wrote: > > > > Just as an excercise to my own sys admin knowledge, I'll summarize > my > > general knowledge and just ask if anyone has suggestions or > differences > > in my understanding. > > > > Daemons (or services) can be manually manipulated in debian using > > /etc/init.d/<daemon> with the command start, stop, restart, etc.. > > > > This will only change what is currently running. If you reboot, > > whatever was configured for your runlevel will be started again. > > rcS.d/ is stuff started for every runlevel > > rcn.d/ lists runlevel specific daemons that are started at boot > > > > update-alternatives (or was it alternatives-update) is a admin tool > for > > adding, removing daemons from various runlevels. > > > > To remove a daemon from starting at a given runlevel, i generally > just > > delete the entry in the /etc/rcn.d directory. Are there any > reasons > > for not doing that? I wish the update-alternatives would accept > syntax > > like "update-alternatives +3 postres" to add postgres to runlevel > 3. > > Maybe it does, it's been a while since I last used it. > > > > Any other general notes? __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/?.refer=text