]> git.ipfire.org Git - thirdparty/systemd.git/commit
Uphold/StopWhenUnneeded/BindsTo: requeue when job finishes 27244/head
authorLuca Boccassi <bluca@debian.org>
Wed, 12 Apr 2023 20:37:45 +0000 (21:37 +0100)
committerLuca Boccassi <bluca@debian.org>
Thu, 13 Apr 2023 12:28:25 +0000 (13:28 +0100)
commit4c7a0fc8d061b41fdd63eb19b6fc0a5c94668dde
tree7a83582aa26c4254b5afd85185ef25e61f2a615a
parent7223d500ac548c69e7879931e3ad8c84838f925b
Uphold/StopWhenUnneeded/BindsTo: requeue when job finishes

When a unit is upheld and fails, and there are no state changes in
the upholder, it will not be retried, which is against what the
documentation suggests.

Requeue when the job finishes. Same for the other two queues.
src/core/job.c
test/units/testsuite-57-retry-fail.service [new file with mode: 0644]
test/units/testsuite-57-retry-upheld.service [new file with mode: 0644]
test/units/testsuite-57-retry-uphold.service [new file with mode: 0644]
test/units/testsuite-57.sh