chiark / gitweb /
service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for...
[elogind.git] / units / gentoo / reboot.service
index a0f357538552f5abbfcc81f1bb11557ed0a59a0e..b5defb16807cb5608a5a662ec35e74cb4c5fa0f8 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
+Type=oneshot
 ValidNoProcess=yes
 ExecStart=/etc/init.d/reboot.sh
-StandardInput=tty
+StandardOutput=tty