Bug#764678: dh-systemd: Please support systemd user services
Michael Biebl
biebl at debian.org
Wed Jun 29 00:39:26 BST 2016
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?
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160629/20e92ca7/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list