Bug#767429: dh-systemd: Please improve timer unit handling

2016-01-25 Thread Martin Pitt
Control: tag -1 -patch Andreas Henriksson [2014-10-30 23:59 +0100]: > I've looked at how to make a package where upstream installs systemd > service and timer units to not start the service during package postinst. To clarify, this *only* applies to dh_systemd_start, not _enable, right? As such

Bug#767429: dh-systemd: Please improve timer unit handling

2014-10-31 Thread Alexandre Detiste
Hi, If you services includes: [Unit] RefuseManualStart=yes RefuseManualStop=yes but no [Install] insection, they can't be enabled nor started; they are only pulled in by the matching timer when they elapse. Does this solve your problem ? An other advantage is that this kind of fix can be

Bug#767429: dh-systemd: Please improve timer unit handling

2014-10-31 Thread Andreas Henriksson
Hello Alexandre! On Fri, Oct 31, 2014 at 08:38:05AM +0100, Alexandre Detiste wrote: Hi, If you services includes: [Unit] RefuseManualStart=yes RefuseManualStop=yes but no [Install] insection, they can't be enabled nor started; they are only pulled in by the matching timer when they

Bug#767429: dh-systemd: Please improve timer unit handling

2014-10-31 Thread Alexandre Detiste
I've looked at how to make a package where upstream installs systemd service and timer units to not start the service during package postinst. systemctl mask unit_name --runtime ? The masked unit in /run will go away on reboot. If I have to manually list each and every unit explicitly that will

Bug#767429: dh-systemd: Please improve timer unit handling

2014-10-30 Thread Andreas Henriksson
Package: dh-systemd Version: 1.21 Severity: wishlist Dear Maintainer, I've looked at how to make a package where upstream installs systemd service and timer units to not start the service during package postinst. I could do this with override_dh_systemd_start: dh_systemd_start --no-start