Dave's Brain

Browse - computer tips - make linux service start at boot

Date: 2008apr4
Level: Beginner

Q.  How do I make a Linux service (daemon) start at boot?

A.  Here are the basic RedHat/Fedora daemon commands.

Make a service start every time at boot and start it now:

	chkconfig --level 2345 $SERVICE on
	service $SERVICE start

Where $SERVICE is your service, eg httpd

Make a service no longer start at boot and stop now:

	chkconfig --level 123456 $SERVICE off
	service $SERVICE stop

See if a service will start at boot:

	chkconfig --list $SERVICE

There is also a GUI.
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Advertisements: