LinuxQuestions.org
Visit Jeremy's Blog.
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 06-11-2009, 08:50 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
server startup program


I have a Redhat server , I want to run a program everytime when server reboot , I know I can add it to /etc/rc.d/init.d or /etc/inittab , can advise what is the difference ? where should I put my program ? thx
 
Old 06-11-2009, 11:52 PM   #2
sonnik
Member
 
Registered: May 2001
Posts: 149

Rep: Reputation: 17
I usually just put applications I want ran at system startup in /etc/rc.d/rc.local

If it needs an elaborate startup, I create a shell script to do the work for me and have rc.local run that.
 
  


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
how can i add a program to startup with RH 9.0 akohamen Linux - Networking 1 01-16-2005 04:10 AM
getting a program to startup Cyric Slackware 4 10-23-2004 06:50 AM
start program on startup HTS Programming 2 07-08-2004 12:22 AM
running a program at startup beccala33 Linux - Newbie 3 04-25-2002 05:00 PM
X Startup Program ryanstrayer Linux - General 1 01-29-2002 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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