Package: dh-systemd Version: 1.18 Severity: important dh_systemd_start --restart-after-upgrade generates the following code in postinst
if [ -d /run/systemd/system ]; then systemctl --system daemon-reload >/dev/null || true deb-systemd-invoke try-restart ModemManager.service >/dev/null || true fi This means, on initial installation the service is not started. dh_installinit --restart-after-upgrade generates the following code: if [ -x "/etc/init.d/network-manager" ]; then update-rc.d network-manager defaults >/dev/null if [ -n "$2" ]; then _dh_action=restart else _dh_action=start fi invoke-rc.d network-manager $_dh_action || exit $? fi I.e., it has a special case for the initial installation and uses start if ! -n "$2". We should do the same for dh_systemd_start -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dh-systemd depends on: ii debhelper 9.20140228 ii perl 5.18.2-4 dh-systemd recommends no packages. dh-systemd suggests no packages. -- no debconf information _______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers