On Wed, May 06, 2015 at 02:08:18PM +0200, Michael Biebl wrote: > 2015-05-06 13:40 GMT+02:00 Zbigniew Jędrzejewski-Szmek <zbys...@in.waw.pl>: > > On Wed, May 06, 2015 at 12:39:50PM +0200, Michael Biebl wrote: > >> 2015-05-06 1:49 GMT+02:00 Cameron Norman <camerontnor...@gmail.com>: > >> > +KillMode=process > >> > > >> > If I had to take a guess I would say that it was desired to let the > >> > shell do its own process management, but Lennart can only know. Maybe > >> > KillMode=mixed would be better? > >> > >> KillMode=mixed seems to work better, indeed, from a quick test and I > >> don't see a downside using mixed. > > KillMode=mixed is newer. RefuseManual* is rather ugly, so this approach > > seems much nicer. > > The following services in units/ use KillMode=process: > > console-getty.service.m4.in:KillMode=process > container-ge...@.service.m4.in:KillMode=process > debug-shell.service.in:KillMode=process > getty@.service.m4:KillMode=process > serial-getty@.service.m4:KillMode=process > > > I wonder, if they should all be switched to use mixed. Yes, maybe with the exception of debug-shell.service. Sometimes you might want to launch strace or something and have it survive exit from the debug shell.
Zbyszek _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel