chiark / gitweb /
units: make sure that killall does not wait for the tty
[elogind.git] / units / gentoo / poweroff.service
index da6f48f74913c7f8b59dc74b97ae4c2a5b81a825..40126b211ebdc7345799a880ebcbe52b0ffa65f2 100644 (file)
@@ -8,13 +8,12 @@
 [Unit]
 Description=Power-Off
 DefaultDependencies=no
-Wants=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 sys-kernel-security.automount
+Requires=shutdown.target umount.target killall.service
+After=shutdown.target umount.target killall.service
 
 [Service]
 Type=finish
 ValidNoProcess=yes
 Environment=RC_DOWN_HARDDISK=yes
 ExecStart=/etc/init.d/shutdown.sh
-StandardInput=tty
+StandardOutput=tty