Skip to content

Commit 8abcb06

Browse files
mady20acuteenvy
andauthored
systemctl-is-enabled: add page (#18509)
Co-authored-by: Lena Pastwa <[email protected]>
1 parent 3a5995c commit 8abcb06

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# systemctl is-enabled
2+
3+
> Check whether unit files are enabled.
4+
> See also: `systemctl enable`, `systemctl disable`.
5+
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#is-enabled%20UNIT%E2%80%A6>.
6+
7+
- Show the enablement state:
8+
9+
`systemctl is-enabled {{unit1 unit2 ...}}`
10+
11+
- Suppress output and return only the exit code:
12+
13+
`systemctl is-enabled {{unit}} --quiet`
14+
15+
- Show installation targets and symlink paths:
16+
17+
`systemctl is-enabled {{unit}} --full`

0 commit comments

Comments
 (0)