systemctl-is-enabled
Check unit boot enablement state
TLDR
Check enablement state
SYNOPSIS
systemctl is-enabled [OPTIONS] UNIT...
DESCRIPTION
systemctl is-enabled checks whether unit files are enabled to start at boot. It returns the enablement state: enabled, disabled, static, masked, generated, transient, indirect, or alias.
Exit code 0 indicates the unit is enabled or will start at boot via other means.
PARAMETERS
-q, --quiet
Suppress output, return only exit code-l, --full
Show installation targets and symlink paths--user
Check user units
ENABLEMENT STATES
enabled - Will start at boot
disabled - Won't start at boot
static - No install section, started as dependency only
masked - Completely blocked from starting
indirect - Enabled through another unit
CAVEATS
"Enabled" means configured to start, not currently running. Use `is-active` to check runtime state. Static units have no [Install] section and can only be started as dependencies.
HISTORY
The is-enabled subcommand provides a scriptable way to check boot configuration without parsing configuration files or symlinks directly.
SEE ALSO
systemctl-is-active(1), systemctl-enable(1), systemctl-disable(1)
