systemd/test/units/success-failure-test-failure.service

4 lines
135 B
Desktop File

[Service]
Type=notify
ExecStart=bash -c "echo failure >> /tmp/success-failure-test-result && systemd-notify --ready && sleep infinity"