chiark / gitweb /
units: make sure that killall does not wait for the tty
[elogind.git] / units / gentoo / reboot.service
index fdca6f866ea0d7274a6ab99c50723ce8c2ec2ef5..de1665579dd3465ec4f61e93a6ff30ce29bb592f 100644 (file)
@@ -7,11 +7,12 @@
 
 [Unit]
 Description=Reboot
-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 sys-kernel-security.automount
+DefaultDependencies=no
+Requires=shutdown.target umount.target killall.service
+After=shutdown.target umount.target killall.service
 
 [Service]
 Type=finish
 ValidNoProcess=yes
 ExecStart=/etc/init.d/reboot.sh
+StandardOutput=tty