Dave's Brain

Browse - Computer Tips - How do I make services (daemons) enabled or disable on Fedora 16+ ?

Date: 2011nov8
Updated: 2011nov20
OS: Linux
Distro: RedHat/Fedora/CentOS
Keywords: systemd

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

Add a comment

Sign in to add a comment
Copyright © 2008-2017, 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.