mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
units: disable job timeouts
For boot, we might kill fsck in the middle, with likely catastrophic consequences. On shutdown there might be other jobs, like downloading of updates for installation, and other custom jobs. It seems better to schedule an individual timeout on each one separately, when it is known what timeout is useful. Disable the timeouts for now, until we have a clearer picture of how we can deal with long-running jobs.
This commit is contained in:
parent
8232e39e7c
commit
038193efa6
|
@ -13,6 +13,3 @@ Requires=sysinit.target
|
||||||
After=sysinit.target
|
After=sysinit.target
|
||||||
Wants=sockets.target timers.target paths.target slices.target
|
Wants=sockets.target timers.target paths.target slices.target
|
||||||
After=sockets.target paths.target slices.target
|
After=sockets.target paths.target slices.target
|
||||||
|
|
||||||
JobTimeoutSec=15min
|
|
||||||
JobTimeoutAction=poweroff-force
|
|
||||||
|
|
|
@ -12,8 +12,6 @@ DefaultDependencies=no
|
||||||
Requires=systemd-poweroff.service
|
Requires=systemd-poweroff.service
|
||||||
After=systemd-poweroff.service
|
After=systemd-poweroff.service
|
||||||
AllowIsolate=yes
|
AllowIsolate=yes
|
||||||
JobTimeoutSec=30min
|
|
||||||
JobTimeoutAction=poweroff-force
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=ctrl-alt-del.target
|
Alias=ctrl-alt-del.target
|
||||||
|
|
|
@ -12,8 +12,6 @@ DefaultDependencies=no
|
||||||
Requires=systemd-reboot.service
|
Requires=systemd-reboot.service
|
||||||
After=systemd-reboot.service
|
After=systemd-reboot.service
|
||||||
AllowIsolate=yes
|
AllowIsolate=yes
|
||||||
JobTimeoutSec=30min
|
|
||||||
JobTimeoutAction=reboot-force
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
Alias=ctrl-alt-del.target
|
Alias=ctrl-alt-del.target
|
||||||
|
|
Loading…
Reference in a new issue