SystemD cheatsheet
systemd is a system and service manager for Linux, compatible with SysV.
What | Command |
---|---|
service foobar start
|
systemctl start foobar
|
sservice foobar stop
|
systemctl stop foobar
|
service foobar status
|
systemctl status foobar.service
|
Listing dependencies: To see dependencies of a service
|
systemctl list-dependencies nfs-server.service
|
loaded services
|
systemctl -t service
|
installed services:
|
systemctl list-unit-files -t service
|
check for services in failed state
|
systemctl --state failed
|
Comments