chiark / gitweb /
service: rename ValidNoProcess= to RemainAfterExit=
[elogind.git] / units / gentoo / poweroff.service
index f4b8fbf12233b4fdd462d4f3ea41813c9b952d9d..2483f9448ce2dfa3a9979887f702a7b132fc39b3 100644 (file)
@@ -12,8 +12,8 @@ Requires=shutdown.target umount.target killall.service
 After=shutdown.target umount.target killall.service
 
 [Service]
-Type=finish
-ValidNoProcess=yes
+Type=oneshot
+RemainAfterExit=yes
 Environment=RC_DOWN_HARDDISK=yes
 ExecStart=/etc/init.d/shutdown.sh
-StandardInput=tty
+StandardOutput=tty