1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 00:42:08 +02:00

add systemctl.md

This commit is contained in:
Felix Yan 2014-02-25 10:06:23 +08:00
parent 3082d8c406
commit 2e50ef9e53

23
linux/systemctl.md Normal file
View file

@ -0,0 +1,23 @@
# systemctl
> Control the systemd system and service manager
- List failed units
`systemctl --failed`
- Start/Stop/Restart a service
`systemctl start/stop/restart {{unit}}`
- Show the status of a unit
`systemctl status {{unit}}`
- Enable/Disable a unit to be started on bootup
`systemctl enable/disable {{unit}}`
- Reload systemd, scanning for new or changed units
`systemctl daemon-reload`