mirror of
https://github.com/systemd/systemd.git
synced 2024-11-26 19:53:45 +08: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:
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
|
||||
|
Loading…
Reference in New Issue
Block a user