mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
units: run sysv related scripts with TERM=linux
This commit is contained in:
parent
4fbf50b38e
commit
4690698d49
@ -14,6 +14,7 @@ Before=final.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Environment=TERM=linux
|
||||||
ExecStart=/sbin/halt.local
|
ExecStart=/sbin/halt.local
|
||||||
TimeoutSec=0
|
TimeoutSec=0
|
||||||
StandardOutput=tty
|
StandardOutput=tty
|
||||||
|
@ -15,6 +15,7 @@ Names=rc-local.service local.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
|
Environment=TERM=linux
|
||||||
ExecStart=/etc/rc.local start
|
ExecStart=/etc/rc.local start
|
||||||
TimeoutSec=0
|
TimeoutSec=0
|
||||||
StandardOutput=tty
|
StandardOutput=tty
|
||||||
|
@ -13,6 +13,7 @@ After=systemd-readahead-collect.service systemd-readahead-replay.service
|
|||||||
Before=shutdown.target emergency.service emergency.target
|
Before=shutdown.target emergency.service emergency.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Environment=TERM=linux
|
||||||
ExecStart=/etc/rc.d/rc.sysinit
|
ExecStart=/etc/rc.d/rc.sysinit
|
||||||
Type=forking
|
Type=forking
|
||||||
TimeoutSec=0
|
TimeoutSec=0
|
||||||
|
Loading…
Reference in New Issue
Block a user