--quiet.
This command honors --system, --user, --runtime, --global and --no-warn in a similar way as enable.
reenable UNIT...
Reenable one or more units, as specified on the command line. This is a combination of disable and enable and is useful to reset the symlinks a unit file is enabled with to the defaults configured in its [Install]
section. This command expects a unit name only, it does not accept paths to unit files.
preset UNIT...
Reset the enable/disable status one or more unit files, as specified on the command line, to the defaults configured in the preset policy files. This has the same effect as disable or enable, depending how the
unit is listed in the preset files.
Use --preset-mode= to control whether units shall be enabled and disabled, or only enabled, or only disabled.
If the unit carries no install information, it will be silently ignored by this command. UNIT must be the real unit name, any alias names are ignored silently.
For more information on the preset policy format, see systemd.preset(5).
preset-all
Resets all installed unit files to the defaults configured in the preset policy file (see above).
Use --preset-mode= to control whether units shall be enabled and disabled, or only enabled, or only disabled.
is-enabled UNIT...
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 (see table). To suppress this
output, use --quiet. To show installation targets, use --full.
Table 1. is-enabled output
┌───────────────────┬──────────────────────────────────────────────────────────┬───────────┐
│ Name │ Description │ Exit Code │
├───────────────────┼──────────────────────────────────────────────────────────┼───────────┤
│ "enabled" │ Enabled via .wants/, .requires/ or Alias= symlinks │ │
├───────────────────┤ (permanently in /etc/systemd/system/, or transiently in │ 0 │
│ "enabled-runtime" │ /run/systemd/system/). │ │
├───────────────────┼──────────────────────────────────────────────────────────┼───────────┤
│ "linked" │ Made available through one or more symlinks to the unit │ │
├───────────────────┤ file (permanently in /etc/systemd/system/ or transiently │ > 0 │
│ "linked-runtime" │ in /run/systemd/system/), even though the unit file │ │
│ │ might reside outside of the unit file search path. │ │
├───────────────────┼──────────────────────────────────────────────────────────┼───────────┤
│ "alias" │ The name is an alias (symlink to another unit file). │ 0 │
├───────────────────┼──────────────────────────────────────────────────────────┼───────────┤
│ "masked" │ Completely disabled, so that any start operation on it │ │
├───────────────────┤ fails (permanently in /etc/systemd/system/ or │ > 0 │
│ "masked-runtime" │ transiently in /run/systemd/systemd/). │ │
├───────────────────┼──────────────────────────────────────────────────────────┼───────────┤
│ "static" │ The unit file is not enabled, and has no provisions for │ 0 │
│ │ enabling in the [Install] unit file section. │ │
├───────────────────┼──────────────────────────────────────────────────────────┼───────────┤
│ "indirect" │ The unit file itself is not