On Fri, 09.01.15 12:18, Colin Guthrie (gm...@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 -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel