mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
units: connect shutdown scripts explicitly with the tty, because native units now default to /dev/null stdout otherwise
This commit is contained in:
parent
4627d39661
commit
455bb5a4bd
@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RUNLEVEL=0
|
||||
ExecStart=/etc/rc.shutdown
|
||||
StandardInput=tty
|
||||
|
@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RUNLEVEL=0
|
||||
ExecStart=/etc/rc.shutdown
|
||||
StandardInput=tty
|
||||
|
@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RUNLEVEL=6
|
||||
ExecStart=/etc/rc.shutdown
|
||||
StandardInput=tty
|
||||
|
@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=INIT_HALT=HALT RUNLEVEL=0
|
||||
ExecStart=/etc/init.d/halt start
|
||||
StandardInput=tty
|
||||
|
@ -15,3 +15,4 @@ OnlyByDependency=yes
|
||||
Type=finish
|
||||
ValidNoProcess=yes
|
||||
ExecStart=/etc/init.d/killall start
|
||||
StandardInput=tty
|
||||
|
@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RUNLEVEL=0
|
||||
ExecStart=/etc/init.d/halt start
|
||||
StandardInput=tty
|
||||
|
@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RUNLEVEL=6
|
||||
ExecStart=/etc/init.d/reboot start
|
||||
StandardInput=tty
|
||||
|
@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=INIT_HALT=HALT RC_DOWN_HARDDISK=yes
|
||||
ExecStart=/etc/init.d/shutdown.sh
|
||||
StandardInput=tty
|
||||
|
@ -15,3 +15,4 @@ OnlyByDependency=yes
|
||||
Type=finish
|
||||
ValidNoProcess=yes
|
||||
ExecStart=/etc/init.d/killprocs start
|
||||
StandardInput=tty
|
||||
|
@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RC_DOWN_HARDDISK=yes
|
||||
ExecStart=/etc/init.d/shutdown.sh
|
||||
StandardInput=tty
|
||||
|
@ -16,3 +16,4 @@ Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.a
|
||||
Type=finish
|
||||
ValidNoProcess=yes
|
||||
ExecStart=/etc/init.d/reboot.sh
|
||||
StandardInput=tty
|
||||
|
@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=INIT_HALT=HALT RUNLEVEL=0
|
||||
ExecStart=/etc/init.d/halt start
|
||||
StandardInput=tty
|
||||
|
@ -16,3 +16,4 @@ Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.a
|
||||
Type=finish
|
||||
ValidNoProcess=yes
|
||||
ExecStart=/etc/init.d/halt start
|
||||
StandardInput=tty
|
||||
|
@ -16,3 +16,4 @@ Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.a
|
||||
Type=finish
|
||||
ValidNoProcess=yes
|
||||
ExecStart=/etc/init.d/reboot start
|
||||
StandardInput=tty
|
||||
|
Loading…
x
Reference in New Issue
Block a user