On Wed, 10.12.14 09:41, Ivan Shapovalov (intelfx...@gmail.com) wrote:

> 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...

Hmm, we should either change bbehaviour of OnFailure, to only trigger
after the star limit is hit, or introduce some option to make this
configurable I guess.

Also see:



Lennart Poettering, Red Hat
systemd-devel mailing list

Reply via email to