1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 11:55:24 +02:00

systemctl: add is-active and is-enabled examples (#4282)

This commit is contained in:
hellojukay 2020-09-01 22:31:47 +08:00 committed by GitHub
parent 87324c6e54
commit aab149bc7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
# systemctl
> Control the systemd system and service manager.
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html>.
- List failed units:
@ -25,3 +26,11 @@
- Reload systemd, scanning for new or changed units:
`systemctl daemon-reload`
- Check if a unit is active:
`systemctl is-active {{unit}}`
- Check if a unit is enabled:
`systemctl is-enabled {{unit}}`