summaryrefslogtreecommitdiff
path: root/test/end.service.in
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2015-02-02 00:19:30 +0100
committerHarald Hoyer <harald@redhat.com>2015-02-03 09:50:45 +0100
commit53d90f9582f96208b3674da823ad1a3d2c3b1aa4 (patch)
tree11a6b4becc3f7630be5c0eb1c7b5210c5f28f0a4 /test/end.service.in
parent3486cb6cfa3d32a95c0daf02c7510fdf372507bf (diff)
tests: don't hardcode systemctl path
Get it from type -P instead, to support --enable-split-usr.
Diffstat (limited to 'test/end.service.in')
-rw-r--r--test/end.service.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/end.service.in b/test/end.service.in
new file mode 100644
index 0000000000..4857ffe02b
--- /dev/null
+++ b/test/end.service.in
@@ -0,0 +1,6 @@
+[Unit]
+Description=End the test
+After=testsuite.service
+
+[Service]
+ExecStart=@SYSTEMCTL@ poweroff --no-block