1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-24 06:04:05 +03:00
systemd/test/units/testsuite-57-retry-upheld.service
Luca Boccassi 4c7a0fc8d0 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.
2023-04-13 13:28:25 +01:00

11 lines
222 B
Desktop File

# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Upheld Unit
Requires=testsuite-57-retry-fail.service
After=testsuite-57-retry-fail.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/echo ok