chiark / gitweb /
units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown...
[elogind.git] / units / poweroff.service.in
similarity index 82%
rename from units/arch/poweroff.service
rename to units/poweroff.service.in
index df2812fd9b6119f5a5579eb7c2b63fdb2457425c..da66f8efced3b8e6b1e0a2bfd4848ae0f5437682 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 poweroff