chiark / gitweb /
service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for...
[elogind.git] / units / fedora / poweroff.service
index d50fbb3926b0ee43f5edabcc855bc99c6102218e..7597f4f651f6e9cfd5346e5c55ecd5a11cf86f30 100644 (file)
@@ -7,11 +7,13 @@
 
 [Unit]
 Description=Power-Off
-Requires=shutdown.target killall.service
-After=shutdown.target killall.service
+DefaultDependencies=no
+Requires=shutdown.target umount.target killall.service
+After=shutdown.target umount.target killall.service
 
 [Service]
-Type=finish
+Type=oneshot
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/init.d/halt start
+StandardOutput=tty