From: Zbigniew Jędrzejewski-Szmek Date: Sun, 8 Dec 2013 23:56:16 +0000 (-0500) Subject: man: document 'is-enabled' output X-Git-Tag: v209~1087 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=171754aa4ae37a6ab626878256f7b664da78ef55;ds=sidebyside man: document 'is-enabled' output https://bugzilla.redhat.com/show_bug.cgi?id=953077 --- diff --git a/man/systemctl.xml b/man/systemctl.xml index 9cd6e8898..5e55f2928 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -443,7 +443,7 @@ along with systemd; If not, see . When used with enable, - disable, is-enabled + disable, (and related commands), make changes only temporarily, so that they are lost on the next reboot. This will have the effect that changes are not made in subdirectories of @@ -920,10 +920,64 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service Checks whether any of the specified unit files are - enabled (as with enable). Returns an exit - code of 0 if at least one is enabled, non-zero - otherwise. Prints the current enable status. To suppress - this output, use . + enabled (as with enable). Returns an + exit code of 0 if at least one is enabled, non-zero + otherwise. Prints the current enable status (see table). + To suppress this output, use . + + + + + <command>is-enabled</command> output + + + + + + Printed string + Meaning + Return value + + + + + enabled + Enabled through a symlink in .wants directory (permanently or just in /run) + 0 + + + enabled-runtime + + + linked + Made available through a symlink to the unit file (permanently or just in /run) + 1 + + + linked-runtime + + + masked + Disabled entirely (permanently or just in /run) + 1 + + + masked-runtime + + + static + Unit is not enabled, but has no provisions for enabling in [Install] section + 1 + + + disabled + Unit is not enabled + 1 + + + +
+