Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

justfail.service

From Randomness wiki
Revision as of 20:37, 9 September 2024 by Derg (talk | contribs) (Created page with "<syntaxhighlight lang="INI"> [Unit] Description=This will just fail OnFailure=servicefailure@%n.service [Service] Type=oneshot ExecStart=sh -c 'echo fail; exit 1' </syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[Unit]
Description=This will just fail
OnFailure=servicefailure@%n.service

[Service]
Type=oneshot
ExecStart=sh -c 'echo fail; exit 1'