Computing.Net > Forums > Linux > Changing services's order startup

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Changing services's order startup

Reply to Message Icon

Name: ntvmt98
Date: May 11, 2006 at 20:58:01 Pacific
OS: Linux AS 3.0
CPU/Ram: 3.2G/8G Ram
Product: IBM
Comment:

Hello,

I am using Red hat Enterprise Linux AS release 3.

I have 3 custom services : service_1, service_2 and service_3. Now i want these services startup in order:
service_1,
service_2,
service_3
when the system startup.

What should I do now?

Thanks.


Vunguyen



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: May 12, 2006 at 02:50:37 Pacific
Reply:

Depends on how you are running them. If you only need the services to be started once when the computer is turned on simply add the commands to rc.local in the order you want. If you want the services to run whenever a specific runlevel is reached then you need to create symbolic links in the runlevel directory you want (eg /etc/rc.d/rc3.d) and have them numbered so that the first run is lowest, eg S91service_1, S92service_2, S93service_3. "man init" for more details.


0

Response Number 2
Name: ntvmt98
Date: May 12, 2006 at 21:35:59 Pacific
Reply:

Thanks you very much

Vunguyen


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Changing services's order startup

how to change samba's passwd in win98? www.computing.net/answers/linux/how-to-change-sambas-passwd-in-win98/6399.html

Turning Off Unwanted Service's www.computing.net/answers/linux/turning-off-unwanted-services/25120.html

Changing boot order/Windows 1st www.computing.net/answers/linux/changing-boot-orderwindows-1st/24826.html