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

justfail.service: Difference between revisions

From Randomness wiki
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>"
(No difference)

Revision as of 21:37, 9 September 2024

[Unit]
Description=This will just fail
OnFailure=servicefailure@%n.service

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