1
0
mirror of https://github.com/systemd/systemd synced 2024-07-05 17:39:42 +00:00

units: systemd-logind fails hard without dbus

That is, without --enable-kdbus and kdbus running.

With --enable-kdbus things are more complicated, because dbus might be
necessary, if kdbus is missing at runtime. If it is not necessary,
the socket will be started, which is not imporant, but not the service.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-02-14 17:01:43 -05:00
parent 8a8332f77e
commit 8f9c6fe5ff

View File

@ -13,6 +13,11 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/multiseat
Wants=user.slice
After=nss-user-lookup.target user.slice
# Ask for the dbus socket. If running over kdbus, the socket will
# not be actually used.
Wants=dbus.socket
After=dbus.socket
[Service]
ExecStart=@rootlibexecdir@/systemd-logind
Restart=always