chiark / gitweb /
units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown...
[elogind.git] / units / halt.service.in
similarity index 82%
rename from units/arch/halt.service
rename to units/halt.service.in
index 2079bc025c5142df76a61343db41e9348fef482f..730c4c2955a8c2dd00a33c97ca90ca26beadef09 100644 (file)
@@ -13,7 +13,4 @@ After=shutdown.target umount.target
 
 [Service]
 Type=oneshot
-RemainAfterExit=yes
-Environment=RUNLEVEL=0
-ExecStart=/etc/rc.shutdown
-StandardOutput=tty
+ExecStart=@SYSTEMCTL@ --force halt