[debhelper-devel] Bug#764678: dh-systemd: Please support systemd user services

Daniel Kahn Gillmor dkg at debian.org
Fri Aug 5 16:38:58 UTC 2016


On Tue 2016-06-28 19:39:26 -0400, Michael Biebl wrote:
> Am 29.06.2016 um 00:11 schrieb Daniel Kahn Gillmor:
>> On Fri 2014-10-10 03:30:07 -0400, Michael Vogt <mvo at debian.org> wrote:
>>> It would be very nice if dh-systemd would support systemd user
>>> units (both for detecting them during build time and to add
>>> something like "systemctl --global enable my-user-unit" to the
>>> debian/postinst).
>>>
>>> My use case is that the package installs a unit that
>>> should run at login time for all users. In the past this was 
>>> done via the upstart session support. 
>> 
>> fwiw, i'd like to see this capability for dh-systemd as well.
>> 
>> One alternative available now is to have the package manually ship a
>> symlink in /etc/systemd/user/default.target.wants/$PKGNAME.service
>> (pointing to /usr/lib/systemd/user/$PKGNAME.service, assuming the user
>
> Shipping a static symlink in /etc is ugly, I would recommend against
> doing that.
>
> Daniel, which service do you have in mind which already requires a
> systemd user session and systemd user services?

i'm looking at this for the gnupg-agent and dirmngr packages
(gpg-agent.service and dirmngr.service), which are currently generated
From the gnupg2 source package in experimental.

Regards,

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20160805/4bb88099/attachment-0001.sig>


More information about the debhelper-devel mailing list