chiark / gitweb /
selinux: rework selinux tests a little
[elogind.git] / units / fedora / halt.service
index a298d95767df4477755178d364e1375527f6c08e..cf9ad49e7a319174acfdddf8b15d8c15c59b8cbe 100644 (file)
@@ -7,12 +7,13 @@
 
 [Unit]
 Description=Halt
-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=INIT_HALT=HALT
-Environment=RUNLEVEL=0
+Environment=INIT_HALT=HALT RUNLEVEL=0
 ExecStart=/etc/init.d/halt start
+StandardInput=tty