Fedora 18 and Systemd


Show all the services :

chkconfig –list

with systemctl :
systemctl list-unit-files –type=service

start or stop a service

/etc/init.d/httpd start or service httpd start

/etc/init.d/httpd stop or service httpd stop

with systemctl :

systemctl start httpd.service

systemctl stop httpd.service

enable or disable services :

chkconfig –add httpd && chkconfig httpd on

chkconfig httpd off

with systemctl :

systemct enable httpd.service

systemct disable httpd.service


2 thoughts on “Fedora 18 and Systemd”

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