On Wed, 20.04.16 16:29, Jamie Kitson ([email protected]) wrote:

> >   For stopping after a duration you can use RuntimeMaxSec=, introduced in
> >   v229. 
> 
> Thanks. The man page says:
> 
> > If this is used and the service has been active for longer than the 
> > specified
> > time it is terminated and put into a failure state.
> 
> Do you know what terminate signal is used, or if the failure state has
> any adverse/side effects?

SIGABRT. A service in the failure state will show up as that in
"systemctl list-services", and will not be GC'ed away, until the
failure state is reset with "systemctl reset-failed".

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to