summaryrefslogtreecommitdiffstats
path: root/test/testsuite-11.units/fail-on-restart.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/testsuite-11.units/fail-on-restart.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/testsuite-11.units/fail-on-restart.service b/test/testsuite-11.units/fail-on-restart.service
new file mode 100644
index 0000000..6832cb2
--- /dev/null
+++ b/test/testsuite-11.units/fail-on-restart.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Fail on restart
+StartLimitIntervalSec=1m
+StartLimitBurst=3
+
+[Service]
+Type=exec
+ExecStart=false
+Restart=always