chiark / gitweb /
tmpfiles: fix typo in comment
[elogind.git] / units / gentoo / reboot.service
index 080a084c750fdb46d609c2b3cce2a8f8e5e7873b..8f8d7328c7e9aea2c0cbe83fcd7e92517cd1aa7f 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
-ValidNoProcess=yes
+Type=oneshot
+RemainAfterExit=yes
 ExecStart=/etc/init.d/reboot.sh
+StandardOutput=tty