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>"
 
m Derg moved page Justfail.service to justfail.service without leaving a redirect: Misspelled title
 
(No difference)

Latest revision as of 14:48, 12 September 2024

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

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