On Fri, 2003-08-08 at 18:41, Jason Williams wrote:
> Hello everyone.
> 
> I was playing around with our mail server today when I came across a few 
> ideas that I would like to implement on my mail server.
> 
> My mail server is currently running postfix.
> The server boots to run level 3
> What I found interesting when I was looking in the /etc/rc.d/rc3.d 
> directory was that postfix as the following setup:
> 
> S80postfix -> ../init.d/postfix
> 
> Which I understand starts postfix with a priority of 80.
> 

Be careful about using the word priority.  the numbers are used to set
the order services are started 

> But where im confused is how come there is no kill for postfix? To my 
> understanding I thought there would be a kill option as well in case the 
> machine goes down or a reboot. Is that wrong in assuming?

rl 6 or 0 has all the kill stuff since that is what gets called at
reboot



> 
> Secondly, I have two other programs that I would like to start up on boot: 
> amavisd-new and clamav. I was thinking that I could just put symlinks into 
> the rc3.d directory and put them as the following:
> 
> S81clamav -> ../init.d/clamd
> S82amavisdnew -> ../init.d/amavisdnew
> 
> That should start both of those process right after postfix, right?
> 


yes assuming that the scripts have the mandatory start clause in it. 
All files starting with a S will be called with start as the first
argument.


> However, what happens when I reboot or shutdown lets say?
> This is where im confused?

IIRC shutdown -h does the equivalent to telinit 0 shutdown -r or reboot
doe telinit 6

the key to all this is the /etc/rc.d/rc script this is where all those
links get used.

Seems like RH had a good tutorial on the Boot process at one time but it
has been several years since I looked for it. 

man chkconfig has some info about what these scripts should look like

HTH

Bret




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to