Dave's Brain

Browse - computer tips - systemctl cheat sheet

Date: 2011nov8
Updated: 2011nov20
OS: Linux

Q.  How do I make services (daemons) enabled or disable on Fedora 16?

A.  We used to use chkconfig but the new way is systemctl.

Is a service set to start at boot?

	systemctl is-enabled <SERVICE>.service

	for example:

		systemctl is-enabled postgresql.service


Make a service start at boot:

	systemctl enable <SERVICE>.service

	for example:

		systemctl enable postgresql.service


Make a service NOT start at boot:

	systemctl disable <SERVICE>.service

	for example:

		systemctl disable postgresql.service


What it knows about:

	systemctl

	for example, is syslog running:

		systemcl | grep syslog



Like you, I am just learning about this.
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: