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:
parent
3082d8c406
commit
2e50ef9e53
1 changed files with 23 additions and 0 deletions
23
linux/systemctl.md
Normal file
23
linux/systemctl.md
Normal 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`
|
Loading…
Add table
Reference in a new issue