[systemd-devel] a way to limit restarts?

Ivan Shapovalov intelfx100 at gmail.com
Tue Dec 9 22:41:23 PST 2014


On Tuesday 09 December 2014 at 13:11:41, Nekrasov, Alexander wrote:	
> Totally missed those. Thanks. Will OnFailure= be activated when the limit is hit? The manual only directly describes StartLimitAction= which isn’t exactly what’s required

OnFailure= will be activated each time the unit enters "failed" state, i. e.
at the same time it is restarted.

There is apparently no way to start a special unit when the start limit is reached.
However, I may have missed it as well...

-- 
Ivan Shapovalov / intelfx /
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141210/97f29bc3/attachment.sig>


More information about the systemd-devel mailing list