mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
units: Bump various oneshot unit timeouts to 90s
In mkosi, we've been having CI failures caused by systemd-machine-id-commit.service timing out. Let's bump the timeout for it and systemd-rfkill.service to 90s which we also use for other oneshot services to avoid transient failures on slower systems.
This commit is contained in:
committed by
Yu Watanabe
parent
a96b4557cb
commit
ffc2773804
@@ -21,4 +21,4 @@ ConditionPathIsMountPoint=/etc/machine-id
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=systemd-machine-id-setup --commit
|
||||
TimeoutSec=30s
|
||||
TimeoutSec=90s
|
||||
|
||||
@@ -22,5 +22,5 @@ Before=shutdown.target
|
||||
ExecStart={{LIBEXECDIR}}/systemd-rfkill
|
||||
NoNewPrivileges=yes
|
||||
StateDirectory=systemd/rfkill
|
||||
TimeoutSec=30s
|
||||
TimeoutSec=90s
|
||||
Type=notify
|
||||
|
||||
Reference in New Issue
Block a user