chiark / gitweb /
units: make sure that killall does not wait for the tty
[elogind.git] / units / gentoo / halt.service
index 8762a7827b9554ded80666d18f71f9d2a980802f..56c3f2e60e860c9415a5290439214bdd00c406f6 100644 (file)
@@ -7,13 +7,13 @@
 
 [Unit]
 Description=Halt
-Requires=shutdown.target killall.service
-After=shutdown.target killall.service
-Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount
+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=RC_DOWN_HARDDISK=yes
+Environment=INIT_HALT=HALT RC_DOWN_HARDDISK=yes
 ExecStart=/etc/init.d/shutdown.sh
+StandardOutput=tty