diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-04-14 14:36:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-05-25 16:03:03 +0200 |
commit | 294446dcb98eaa1ced5839da674c2065b1367a3a (patch) | |
tree | 2b74a1cb3ce8a0d8c8f30c4b45d2f72c0d5dc5a1 /src/core/dbus-socket.h | |
parent | 47cd17ead4bd773691708f3e81a7d047b5692e51 (diff) | |
download | systemd-294446dcb98eaa1ced5839da674c2065b1367a3a.tar.gz |
core: add new OnSuccess= dependency type
This is similar to OnFailure= but is activated whenever a unit returns
into inactive state successfully.
I was always afraid of adding this, since it effectively allows building
loops and makes our engine Turing complete, but it pretty much already
was it was just hidden.
Given that we have per-unit ratelimits as well as an event loop global
ratelimit I feel safe to add this finally, given it actually is useful.
Fixes: #13386
Diffstat (limited to 'src/core/dbus-socket.h')
0 files changed, 0 insertions, 0 deletions