chiark / gitweb /
units: connect shutdown scripts explicitly with the tty, because native units now...
[elogind.git] / units / fedora / reboot.service
index b99dfdc8ac47556fd1c5609657d185c277c8142c..6a93c0b5575c29d6d02b7d04ffe50ba4219fde8d 100644 (file)
@@ -7,6 +7,7 @@
 
 [Unit]
 Description=Reboot
+DefaultDependencies=no
 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
@@ -16,3 +17,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=6
 ExecStart=/etc/init.d/reboot start
+StandardInput=tty