chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
units: connect shutdown scripts explicitly with the tty, because native units now...
[elogind.git]
/
units
/
fedora
/
reboot.service
diff --git
a/units/fedora/reboot.service
b/units/fedora/reboot.service
index 79c5ef41ca7ab1b28ac7686db01bad641263d0f7..6a93c0b5575c29d6d02b7d04ffe50ba4219fde8d 100644
(file)
--- a/
units/fedora/reboot.service
+++ b/
units/fedora/reboot.service
@@
-7,11
+7,14
@@
[Unit]
Description=Reboot
[Unit]
Description=Reboot
+DefaultDependencies=no
Requires=shutdown.target killall.service
After=shutdown.target killall.service
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
[Service]
Type=finish
ValidNoProcess=yes
Environment=RUNLEVEL=6
[Service]
Type=finish
ValidNoProcess=yes
Environment=RUNLEVEL=6
-ExecStart=@/etc/init.d/halt reboot start
+ExecStart=/etc/init.d/reboot start
+StandardInput=tty