Hi,

I noticed a problem with the current watchdog code. When the watchdog for a
service triggers then the service is stopped with service_enter_dead().
Then the restart logic takes over and restarts the service. However, if the
rate limit is exceeded and StartLimitAction=none, then the service just
stays dead, but the last running process is still there.
This is not visible when restarting, because that seems to kill any
remaining processes, but I don't think this is the right thing to do.
I guess calling service_enter_dead() is not enough, but I don't know what
to do instead.

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to