DH_INSTALLSYSTEMDUSER(1) | Debhelper | DH_INSTALLSYSTEMDUSER(1) |
dh_installsystemduser - install systemd unit files
dh_installsystemduser [debhelper options] [--no-enable] [--name=name] [unit file ...]
dh_installsystemduser finds the systemd user instance service files installed by a package and generates postinst, and prerm code blocks for enabling and disabling the corresponding systemd user instance services, when the package is installed, updated, or removed. These snippets are added to the maintainer scripts by dh_installdeb(1).
deb-systemd-helper(1) is used to enable and disable the systemd units, thus it is not necessary that the machine actually runs systemd during package installation time, enabling happens on all machines.
dh_installsystemduser operates on all user instance unit files installed by a package. For only generating blocks for specific unit files, pass them as arguments. Specific unit files can be excluded from processing using the -X common debhelper(1) option.
This command is not idempotent. dh_prep(1) should be called between invocations of this command (with the same arguments). Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts.
pkg-systemd-maintainers@lists.alioth.debian.org
2019-02-23 | 12.1.1 |