]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/load-fragment-gperf.gperf.m4
core: move start ratelimiting check after condition checks
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Apr 2016 18:34:33 +0000 (20:34 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 29 Apr 2016 14:27:48 +0000 (16:27 +0200)
commit7629ec4642b03517742d09b7303c204fddf82108
tree91b9cbfaa378ea199ff1f5e887a863e21243d548
parent8b26cdbd2a949b02c0f4d94d0e157cdb9438d246
core: move start ratelimiting check after condition checks

With #2564 unit start rate limiting was moved from after the condition checks
are to before they are made, in an attempt to fix #2467. This however resulted
in #2684. However, with a previous commit a concept of per socket unit trigger
rate limiting has been added, to fix #2467 more comprehensively, hence the
start limit can be moved after the condition checks again, thus fixing #2684.

Fixes: #2684
man/systemd.unit.xml
src/core/load-fragment-gperf.gperf.m4
src/core/unit.c