LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   starting one service before the other in Rh (https://www.linuxquestions.org/questions/linux-general-1/starting-one-service-before-the-other-in-rh-117665/)

jayakrishnan 11-19-2003 12:00 AM

starting one service before the other in Rh
 
Hi


how can i set the service priorities so that one services starts before the other

say i want services named A to start after service B is started

how do i do that, which files do i need to change,

(/etc/rc.d/ )


thanks & regards
jayakrishnan

razametal 11-19-2003 12:15 AM

First, what runlevel have you ?

If you have runleve 3 (as example) go to /etc/rc.d/rc3.d and check the symbolic links that starts with S .

In example, you have the service sendmail and squid, you want squid loaded first than senmail, at /etc/rc.d/rc3.d/ you will find

S19sendmail
S30squid

S19 is loaded first than S30, you need to assign to S30squid a less value, or give to sendmail a value higher than squid.

S18squid
S19sendmail

or

S30squid
S40sendmail

Good luck !
You can use:D :p

jayakrishnan 11-19-2003 12:32 AM

thanks razametal


All times are GMT -5. The time now is 05:43 AM.