[Unit] Description=This will just fail OnFailure=servicefailure@%n.service [Service] Type=oneshot ExecStart=sh -c 'echo fail; exit 1'