1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/systemctl.md

24 lines
408 B
Markdown
Raw Normal View History

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