chiark / gitweb /
units/: use @SYSTEMCTL@ instead of hardcoded paths
[elogind.git] / units / console-shell.service.m4.in
similarity index 96%
rename from units/console-shell.service.m4
rename to units/console-shell.service.m4.in
index fef9e1b176265c9d7cca18ff406a836b6ea7b994..b0ced10aaa1dd8012195e3fe59a15296ca6a28af 100644 (file)
@@ -32,7 +32,7 @@ Before=getty.target
 Environment=HOME=/root
 WorkingDirectory=/root
 ExecStart=-/sbin/sulogin
-ExecStopPost=-/bin/systemctl poweroff
+ExecStopPost=-@SYSTEMCTL@ poweroff
 StandardInput=tty-force
 StandardOutput=inherit
 StandardError=inherit