[systemd-devel] Questions regarding dbus started via systemd --user

Lennart Poettering mzqohf at 0pointer.de
Mon Feb 2 15:19:28 PST 2015

On Fri, 09.01.15 12:18, Colin Guthrie (gmane at colin.guthr.ie) wrote:

> Mantas Mikul─Śnas wrote on 09/01/15 10:31:
> > 
> > I guess you could use KillMode= for this?
> I don't think so. This would mean the unit would still be alive even
> although the main process died and when I next tried to open a
> gnome-terminal, it would try and speak to the dbus service again and
> then dbus would try and spawn it but systemd would say "it's already
> running" and not actually run a new gnome-terminal-server process.

Not really, if you use KillMode=main for this, then systemd simply
doesn't care for any remaining processes, except for the main one, and
the unit's state would not be affected in any way by those
processes. The right thing should happen.


Lennart Poettering, Red Hat

More information about the dbus mailing list