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:

https://bugs.freedesktop.org/show_bug.cgi?id=87799

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to