chiark / gitweb /
unit: make sure a job for a service of type 'finish' succeeds if the process terminat...
[elogind.git] / units / gentoo / reboot.service
index a0f357538552f5abbfcc81f1bb11557ed0a59a0e..de1665579dd3465ec4f61e93a6ff30ce29bb592f 100644 (file)
@@ -8,12 +8,11 @@
 [Unit]
 Description=Reboot
 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
 ExecStart=/etc/init.d/reboot.sh
-StandardInput=tty
+StandardOutput=tty