[systemd-devel] Synchronization Between Services at Shutdown

Michael Biebl mbiebl at gmail.com
Thu Apr 2 04:00:19 PDT 2015


2015-04-02 11:06 GMT+02:00 Lennart Poettering <lennart at poettering.net>:
> If you want to ensure that bus communication still works in your
> shutdown code, you hence need to make sure you place
> After=dbus.service in your services, so that you are shut down before
> dbus is.

Type=dbus service currently only get a dependency on dbus.socket (via
After=basic.target).

Incidentally, pitti had to deal with bug reports the last couple of
days, where dbus.service was stopped too early during shutdown, so
e.g. wpa_supplicant.service and other D-Bus using services failed to
stop properly on shutdown.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list