systemd-installsystemdDeveloperLennartPoetteringlennart@poettering.netsystemd-install1systemd-installEnable or disable a systemd unit
definition filesystemd-install optionsnamesystemd-install optionsnamesystemd-install optionsnameDescriptionsystemd-install enables or
disables systemd units, or checks whether they are
enabled.The following options are understood:--helpPrints a short help
text and exits.--forceEnable/disable a
service even if it conflicts
with/contradicts another service. This
might have the effect of disabling
another service that was
enabled.--systemEnable/disable a
system service.--sessionEnable/disable a
session service for the calling
user.--globalEnable/disable a
session service for all
users.The following verbs are understood:enableEnable a unit. This
will create a number of symlinks as
encoded in the [Install] section of a
unit file.disableDisable a unit. This
will removed a number of symlinks as
encoded in the [Install] section of a
unit file.testChecks whether any of
the units specified are
installed. This will check for the
existance of a number of symlinks as
encoded in the [Install] section of a
unit file.Exit statusOn success 0 is returned, a non-zero failure
code otherwise.See Alsosystemctl1,
systemd.unit5