Re: Daemon mgmt was Re: turning off /sbin/portmap

2001-03-29 Thread Rick Rezinas
just about that ;) when entering a runlevel, the daemon basically goes through each file in /etc/rcx.d that starts with S and runs it like this: S90startstuff start note the start argument. Then when leaving it does the same thing with the K's saying stop. They are run in numerical order, s

Re: Daemon mgmt was Re: turning off /sbin/portmap

2001-03-29 Thread Alan Chen
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

Re: Daemon mgmt was Re: turning off /sbin/portmap

2001-03-29 Thread Jimmy Richards
Hi All, I responded to this question and said to use 'update-alternatives' myself. I meantupdate-rc.d. Doh! Jimmy Richards On Thursday 29 March 2001 14:25, Daniel Freedman wrote: > Hi, > > On Thu, Mar 29, 2001, Alan Chen wrote: > > Just as an excercise to my own sys admin knowledge, I'l

Re: Daemon mgmt was Re: turning off /sbin/portmap

2001-03-29 Thread Carel Fellinger
On Thu, Mar 29, 2001 at 11:57:54AM -0800, Alan Chen wrote: ... > update-alternatives (or was it alternatives-update) is a admin tool for > adding, removing daemons from various runlevels. No, it is for managing Debian's alternatives sytem. Like whether vim, or vi or tiny-vi should be named vi. O

Re: Daemon mgmt was Re: turning off /sbin/portmap

2001-03-29 Thread Daniel Freedman
Hi, On Thu, Mar 29, 2001, 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/

Re: Daemon mgmt was Re: turning off /sbin/portmap

2001-03-29 Thread Rich Puhek
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 excercis

Daemon mgmt was Re: turning off /sbin/portmap

2001-03-29 Thread Alan Chen
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/ with the command start, stop, restart, etc.. This will