chiark / gitweb /
reboot: don't wait for input tty
[elogind.git] / units / fedora / poweroff.service
index d50fbb3926b0ee43f5edabcc855bc99c6102218e..cd6ec3edc9cdcaa5c1f6d57d1588e50fb7773d7f 100644 (file)
@@ -7,11 +7,13 @@
 
 [Unit]
 Description=Power-Off
 
 [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
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/init.d/halt start
 
 [Service]
 Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/init.d/halt start
+StandardOutput=tty