1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 16:06:00 +02:00

Merge pull request #112 from felixonmars/systemctl

add systemctl.md
This commit is contained in:
Romain Prieto 2014-02-25 13:36:01 +11:00
commit 2ad822e66c

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`