summaryrefslogtreecommitdiff
path: root/test/unstoppable.service
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2013-02-22 18:59:07 +0100
committerMichal Schmidt <mschmidt@redhat.com>2013-02-23 14:18:17 +0100
commitd710d36375bacbf9cfb8903107bedf2c0aada84e (patch)
tree9ac862722f5efc863e841c63db015f9c85aea9b7 /test/unstoppable.service
parentf948423bb565194a5a8242f556bacf6f7e2d3273 (diff)
test: test irreversible jobs
Diffstat (limited to 'test/unstoppable.service')
-rw-r--r--test/unstoppable.service5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unstoppable.service b/test/unstoppable.service
new file mode 100644
index 0000000000..24fb0a25e1
--- /dev/null
+++ b/test/unstoppable.service
@@ -0,0 +1,5 @@
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/bin/echo 'I'm unstoppable!'
+ExecStop=/bin/systemctl start --no-block unstoppable.service