mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08:00
units: add JobTimeoutAction= to exit.target and friends
For consistency with other targets, e.g. poweroff.target or reboot.target.
This commit is contained in:
parent
3acc318591
commit
1cd904bbe0
@ -14,6 +14,8 @@ DefaultDependencies=no
|
||||
Requires=systemd-exit.service
|
||||
After=systemd-exit.service
|
||||
AllowIsolate=yes
|
||||
JobTimeoutSec=30min
|
||||
JobTimeoutAction=exit-force
|
||||
|
||||
[Install]
|
||||
Alias=ctrl-alt-del.target
|
||||
|
@ -14,6 +14,8 @@ DefaultDependencies=no
|
||||
Requires=systemd-halt.service
|
||||
After=systemd-halt.service
|
||||
AllowIsolate=yes
|
||||
JobTimeoutSec=30min
|
||||
JobTimeoutAction=halt-force
|
||||
|
||||
[Install]
|
||||
Alias=ctrl-alt-del.target
|
||||
|
@ -14,6 +14,8 @@ DefaultDependencies=no
|
||||
Requires=systemd-kexec.service
|
||||
After=systemd-kexec.service
|
||||
AllowIsolate=yes
|
||||
JobTimeoutSec=30min
|
||||
JobTimeoutAction=kexec-force
|
||||
|
||||
[Install]
|
||||
Alias=ctrl-alt-del.target
|
||||
|
Loading…
Reference in New Issue
Block a user