diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-05-17 18:26:14 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-05-17 18:28:14 +0200 |
commit | 1cd904bbe06c223e4e7d22d224f5785fbdde16f8 (patch) | |
tree | 961cec9ef565b8c05acc3ec7f251ed50df09a24b /units | |
parent | man/soft-reboot: order surviving services before shutdown.target (diff) | |
download | systemd-1cd904bbe06c223e4e7d22d224f5785fbdde16f8.tar.xz systemd-1cd904bbe06c223e4e7d22d224f5785fbdde16f8.zip |
units: add JobTimeoutAction= to exit.target and friends
For consistency with other targets, e.g. poweroff.target or
reboot.target.
Diffstat (limited to 'units')
-rw-r--r-- | units/exit.target | 2 | ||||
-rw-r--r-- | units/halt.target | 2 | ||||
-rw-r--r-- | units/kexec.target | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/units/exit.target b/units/exit.target index f8a22e52c6..046dc03c2a 100644 --- a/units/exit.target +++ b/units/exit.target @@ -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 diff --git a/units/halt.target b/units/halt.target index bfa5f23e1d..c19865fe3f 100644 --- a/units/halt.target +++ b/units/halt.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 diff --git a/units/kexec.target b/units/kexec.target index 5d8f8cdc52..dee7d2009b 100644 --- a/units/kexec.target +++ b/units/kexec.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 |