LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2005, 06:44 PM   #1
N3Lorax
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Rep: Reputation: 0
Startup scripts for FC4


Hi,
Forgive me if this has been asked before I've been googling for a while now and came up empty handed. I am looking for some generalized editable start scripts or tutorials on making start up scripts. I'm using Fedora Core 4. I'm kind a a re-newbie as it were. I used Linux before but I had not used it in a while. Things have changed and I've forgotten allot so need some refreshing.

At the moment my primary interest is starting a hybrid-ircd and ircd-services at boot along with loading the associated configs and logs, etc. I am running a small private ircd for development and testing. Both services are up and running but I have to load then manualy. I'd also like to learn how to make generalized scripts easily altered to load other services on boot as well. Any ideas where I can find and examples like this?

TIA
RE-
 
Old 08-18-2005, 07:14 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
There are lots of links online for startup scripts
http://www.mathworks.com/access/help.../chap1_17.html
http://the.taoofmac.com/space/HOWTO/...Fedora%20Linux
are just two really quick. You should be able to read thru them and get the idea on how to make them and where to put them.
 
Old 08-18-2005, 07:26 PM   #3
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
Have a look in /etc.rc.d/init.d this is where the startup scripts for FC are kept. The system uses link from /etc/rc.d/rc5.d to actually run the scripts in level 5.
The directories rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d determine the start and stop services scripts for each run level. The number is the runlevel.
The link names have the format K36lisa or S36lisa. The K means kill (stop), the S means start, the number is the sequence number ie the order for starting or stopping the service and the final part "lisa" is the service that is affected.
If you look at the scripts in /etc/rc.d/init.d they will give you starting point for a script to start and stop your services.
 
  


Reply



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 scripts iomari SUSE / openSUSE 2 10-19-2005 01:38 AM
Startup Scripts?? jimbo-62 Debian 5 07-10-2005 10:23 AM
startup scripts doralsoral Linux - Software 6 01-12-2004 03:46 PM
startup scripts amphion Linux - Newbie 8 03-28-2003 01:39 PM
X Startup Scripts JHuizingh Linux - General 1 09-18-2001 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:43 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