Bug#767429: dh-systemd: Please improve timer unit handling
Martin Pitt
mpitt at debian.org
Mon Jan 25 22:26:27 GMT 2016
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 .service units should never have an [Install] section,
only their *.timer units should have.
So I wonder, does it actually make sense for dh_systemd_start to start
units which we don't enable? This is highly inconsistent between
"right after package install" vs. "behaviour after boot".
Thus, would it not make sense to teach dh_systemd_start to ignore
units without [Install] by default?
TBH I don't like the current patch very much. path, socket etc. units
have the exact same problem, and it looks like a too specific hack.
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the Pkg-systemd-maintainers
mailing list