LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-25-2003, 09:13 PM   #1
mikedderuki
Newbie
 
Registered: Jul 2003
Location: The couch
Distribution: RedHat 9
Posts: 8

Rep: Reputation: 0
Services startup?


Would someone be so kind as to post a quick overview as to where and how services get started when Linux boots up?

Thanks in advance!
 
Old 09-25-2003, 09:20 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
In some distributions the actual services are contained in

/etc/rc.d/init.d

Symlinks to these services are contained in

/etc/rc.d/rcX.d

where X is the run level.

To start a service at a certain run level you need an S symlink in the relevant /etc/rc.d/rcX.d directory which points back to the actual service in /etc/rc.d/init.d - Kill symlinks are useful for stopping services when you change run levels - also - to stop a service from starting at a certain run level just take out the S symlink which points to the actual service.

Last edited by Skyline; 09-25-2003 at 09:28 PM.
 
Old 09-25-2003, 11:15 PM   #3
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
your other option is to use the GUI under system tools-server settings-services and edit each runlevel as needed.
 
Old 09-26-2003, 04:08 PM   #4
mikedderuki
Newbie
 
Registered: Jul 2003
Location: The couch
Distribution: RedHat 9
Posts: 8

Original Poster
Rep: Reputation: 0
Cool, thanks for the replies guys! Can you tell me what the "rc" stands for?
 
Old 09-26-2003, 04:16 PM   #5
Faecal
Member
 
Registered: Sep 2002
Location: York, UK
Distribution: Debian Sid
Posts: 215

Rep: Reputation: 30
From the UNIX FAQ:

rc (as in ".cshrc" or "/etc/rc") = "RunCom"

"rc" derives from "runcom", from the MIT CTSS system,
ca. 1965.

'There was a facility that would execute a bunch of
commands stored in a file; it was called "runcom" for "run
commands", and the file began to be called "a runcom."



I actually copied that from this thread.
 
Old 09-26-2003, 04:44 PM   #6
mikedderuki
Newbie
 
Registered: Jul 2003
Location: The couch
Distribution: RedHat 9
Posts: 8

Original Poster
Rep: Reputation: 0
Hmm, makes sense. Thanks for the quick reply! So how come when I tried to do a search on these forums for rc, I get no hits?
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
startup services kola Fedora 2 12-02-2004 05:47 PM
Disabling startup services Corallis Fedora 2 08-02-2004 11:51 AM
Startup Services Command loadedmind Debian 3 11-11-2003 03:32 PM
Startup services Road Linux - General 5 06-07-2002 05:34 PM
Startup Services Stephanie Linux - General 2 08-07-2001 09:37 AM


All times are GMT -5. The time now is 11:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration