systemctl-is-enabled
Check unit boot enablement state
TLDR
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
Do not truncate output; also show installation targets in the output--system
Check system units (default)--user
Check user units
ENABLEMENT STATES
enabled - Will start at bootdisabled - Won't start at bootstatic - No install section, started as dependency onlymasked - Completely blocked from startingindirect - Enabled through another unitgenerated - Generated dynamically by a generator toolalias - Name is an alias for 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.
SEE ALSO
systemctl(1), systemctl-is-active(1), systemctl-enable(1), systemctl-disable(1), systemctl-status(1)
