mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user