LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-19-2003, 12:00 AM   #1
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
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
 
Old 11-19-2003, 12:15 AM   #2
razametal
LQ Newbie
 
Registered: Apr 2003
Location: Manta - Ecuador - South America
Distribution: Debian
Posts: 19

Rep: Reputation: 0
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
 
Old 11-19-2003, 12:32 AM   #3
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Original Poster
Rep: Reputation: 30
thanks razametal
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCMCIA service not starting nelsonnery Linux - Hardware 5 04-05-2005 06:39 PM
starting this as a service. dkc_ace Linux - General 15 12-27-2004 09:31 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 06:39 PM
xinetd service not starting porous Linux - Networking 4 10-14-2003 06:50 AM
starting up a service Robin01 Linux - Newbie 3 08-31-2003 05:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration