chiark / gitweb /
service: rename ValidNoProcess= to RemainAfterExit=
[elogind.git] / units / gentoo / poweroff.service
index 40126b211ebdc7345799a880ebcbe52b0ffa65f2..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
 StandardOutput=tty