Tag Archives: systemctl

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