LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-15-2008, 02:34 AM   #1
vijaya_svk
Member
 
Registered: Nov 2007
Posts: 61

Rep: Reputation: 15
how to add a service at startup


Hi
I am using redhat CENTOS
I want to run the dhcpd service at system startup. How can i do this.

Please tell me the procedure for fedora 8 also to make any application or service to run at startup.
 
Old 07-15-2008, 03:09 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Use the chkconfig command.
type man chkconfig for more informations.
 
Old 07-15-2008, 03:09 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Read through the "chkconfig" manpage. You can enable a service to start for certain runlevels. You can also use a system-config-* gui program as well.
 
Old 07-15-2008, 04:28 AM   #4
sonuxp
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Rep: Reputation: 0
U can use the system-config-services gui interface or else use the command 'chkconfig [--level levels] name <on|off|reset|resetpriorities>'
where name represents the name of ur service
 
Old 07-15-2008, 07:07 AM   #5
tommytomthms5
Member
 
Registered: Sep 2007
Distribution: debian based
Posts: 308

Rep: Reputation: Disabled
those work on debian as well?
 
Old 07-15-2008, 07:42 AM   #6
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
On debian, check update-rc.d
man update-rc.d
 
  


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
how to add service in service list akamol Linux - Software 2 07-20-2006 01:37 AM
Mandriva startup scripts (need to add something to startup before X starts) thunderweasel Mandriva 3 01-01-2006 12:55 AM
how to add service in windows ajkannan83 General 3 09-12-2005 01:36 PM
Add service in windows ajkannan83 Linux - Software 2 09-12-2005 09:32 AM
Add service in windows ajkannan83 General 2 09-12-2005 03:14 AM

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

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