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.
This commit is contained in:
Markus Weippert 2022-01-04 13:56:11 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 7359e3d35a
commit e00a25a7b4

View file

@ -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