LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-16-2005, 03:15 AM   #1
akohamen
LQ Newbie
 
Registered: Apr 2004
Distribution: redhat 9.0
Posts: 3

Rep: Reputation: 0
how can i add a program to startup with RH 9.0


pls, how can i add a program to startup with RH 9.0
 
Old 01-16-2005, 04:10 AM   #2
flipcode
Member
 
Registered: Dec 2004
Distribution: Red Hat 9, Fedora Core 3, KNOPPIX
Posts: 33

Rep: Reputation: 15
Lets assume its not a daemon....

You can add an entry into /etc/rc.local to have it start on bootup. There can be problems here depending on what order your program loads vs the firewall... it might not be a problem if it's not required to be permitted / blocked by the firewall.



Now lets assume it IS a daemon....

You can add the entry into /etc/init.d/ or /etc/init.d/rc3.d/.

You will have to create the start and kill scripts, and typically these will be supplied by the author of the software. In fact they normally create these for you.
 
  


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
add entry to startup? TomalakBORG SUSE / openSUSE 1 11-22-2005 05:53 PM
how to add this to startup? bahadur Linux - Networking 8 10-15-2005 04:03 PM
Add Program to startup Shadow2982 Linux - Newbie 1 02-27-2005 05:48 PM
How to add program to startup? lamiczka Linux - Newbie 2 02-17-2004 07:37 PM
add route at startup phil1076 Linux - Networking 2 08-26-2003 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:24 AM.

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