chiark / gitweb /
service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for...
[elogind.git] / units / gentoo / reboot.service
index 080a084c750fdb46d609c2b3cce2a8f8e5e7873b..b5defb16807cb5608a5a662ec35e74cb4c5fa0f8 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
+DefaultDependencies=no
+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
+StandardOutput=tty