Re: run levels (priority) and chkconfig --add

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mi, den 20.10.2004 schrieb Douglas Phillipson um 21:05:

> My question is, and I've read the man page on chkconfig, what are the 
> priorities, in this case 30 and 20.
> 
> Are they the order in which this service is started relative to all 
> services?  Or are they the process priority to be given when the process 
> is started or stopped?  I'm leaning toward the "order" relative to all 
> services but I just wanted to make sure.  If this is the case than all 
> services should have different numbers here???  Is the highest legal 
> number 99?

> Doug p

The number is the order / sequence in which the services are either
started and stopped. So if you for instance have Sendmail starting and a
milter application, it is essential that the milter is started before
Sendmail, so that Sendmail finds the milter socket file when it start.
Having Sendmail start value of 80 you need a lower value for the milter,
i.e. 75. This would then for instance be

/etc/rc.d/rc3.d/S75milter-bcc
/etc/rc.d/rc3.d/S80Sendmail

See for instance:

http://www.tldp.org/HOWTO/From-PowerUp-To-Bash-Prompt-HOWTO-6.html
http://www.linuxjournal.com/article.php?sid=1274
http://www.redhat.com/archives/fedora-list/2004-March/msg06054.html

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 21:17:35 up 17:57, 16 users, 0.39, 0.31, 0.31 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux