[Pkg-bluetooth-maintainers] Bug#804908: service is not started under systemd

Michael Biebl biebl at debian.org
Thu Nov 12 19:37:21 UTC 2015


Am 12.11.2015 um 20:19 schrieb Michael Biebl:
> That is a symlink though, which is only created if the user explicitly
> runs "systemctl enable --user obex.service", which in my case will
> result in
> Created symlink from
> /home/michael/.config/systemd/user/dbus-org.bluez.obex.service to
> /usr/lib/systemd/user/obex.service.
> 
> 
> There is no infrastructure to run that systemctl enable command for
> every user and I think obexd should be enabled by default. I therefor
> suggest to change /usr/share/dbus-1/services/org.bluez.obex.service and
> use
> SystemdService=obex.service


An alternative is to enable the user service system wide via
systemctl enable --global obex.service

Unfortunately, we don't have support for such services in
dh_systemd/init-system-helpers (yet) and simply running systemctl enable
in postinst is discouraged.
So for now I think it's best if SystemdService=obex.service is used,
which doesn't require explicit enablement.



Michael

-- 
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://lists.alioth.debian.org/pipermail/pkg-bluetooth-maintainers/attachments/20151112/4daee260/attachment.sig>


More information about the Pkg-bluetooth-maintainers mailing list