chiark / gitweb /
tests: don't hardcode systemctl path
[elogind.git] / test / end.service.in
similarity index 57%
rename from test/end.service
rename to test/end.service.in
index 0f04dfeb2032ab72659fa7e1681eedb2e9037881..4857ffe02bc3ba970ecd6aa6ee333a7f39477d7f 100644 (file)
@@ -3,4 +3,4 @@ Description=End the test
 After=testsuite.service
 
 [Service]
-ExecStart=/usr/bin/systemctl poweroff --no-block
+ExecStart=@SYSTEMCTL@ poweroff --no-block