Manage services on Fedora 16 using systemctl

With ntsysv no more the tool to manage services, and chkconfig being used to manage only legacy services, Fedora 16 now has a new command, systemctl.

To list all services running on the Fedora 16 system:
# systemctl -t service <enter>

To stop a service on the Fedora 16 system:
# systemctl stop sendmail.service <enter>

You can also start, stop, enable or disable services using wildcards:
# systemctl stop abrt*.service <enter>

To disable a service from starting up when you reboot the Fedora 16 system:
# systemctl disable sendmail.service <enter>

To start a service on the Fedora 16 system:
# systemctl start sendmail.service <enter>

To enable a service to start up after you reboot the Fedora 16 system:
# systemctl enable sendmail.service <enter>

You can also start, stop, enable or disable services using wildcards as shown below:
# systemctl stop abrt*.service <enter>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s