Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-15-2008, 02:34 AM   #1
Registered: Nov 2007
Posts: 61

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

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
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

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

Rep: Reputation: 657Reputation: 657Reputation: 657Reputation: 657Reputation: 657Reputation: 657
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
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
Registered: Sep 2007
Distribution: debian based
Posts: 305

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

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


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 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

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