mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
10 lines
330 B
Desktop File
10 lines
330 B
Desktop File
[Unit]
|
|
OnSuccess=success-failure-test-success.service
|
|
OnFailure=success-failure-test-failure.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
Restart=always
|
|
ExecStart=bash -c 'test -f /tmp/success-failure-test-ran && touch /tmp/success-failure-test-ran2 && systemd-notify --ready && sleep infinity'
|
|
ExecStopPost=touch /tmp/success-failure-test-ran
|