Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0
Startup scripts for FC4

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?

Old 08-18-2005, 08:14 PM   #2
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
There are lots of links online for startup scripts
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, 08:26 PM   #3
Michael Johnson
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.


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

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

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