summaryrefslogtreecommitdiff
path: root/units/systemd-homed.service.in
diff options
context:
space:
mode:
authorMarkus Weippert <markus@gekmihesg.de>2022-01-04 13:56:11 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-01-07 14:33:35 +0100
commite00a25a7b41bd45ab73b47cbd94b3af909b8f8a1 (patch)
treee57599bada72410a2035234dc2c9a7027dabffb1 /units/systemd-homed.service.in
parent7359e3d35a7f295d8f4108c296147358c5feff99 (diff)
downloadsystemd-e00a25a7b41bd45ab73b47cbd94b3af909b8f8a1.tar.gz
homed: stop before stopping dbus
Otherwise, systemd-homed-active.service will fail to deactivate all homes because homectl can no longer talk to homed if dbus stops first. As a result, /home cannot be umounted. Doing this on systemd-homed-active.service instead works as well, but systemd-homed will exit 1 if dbus is already shut down.
Diffstat (limited to 'units/systemd-homed.service.in')
-rw-r--r--units/systemd-homed.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-homed.service.in b/units/systemd-homed.service.in
index b03c6879c9..c2f8548897 100644
--- a/units/systemd-homed.service.in
+++ b/units/systemd-homed.service.in
@@ -12,7 +12,7 @@ Description=Home Area Manager
Documentation=man:systemd-homed.service(8)
Documentation=man:org.freedesktop.home1(5)
-After=home.mount
+After=home.mount dbus.service
[Service]
BusName=org.freedesktop.home1