mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
upgrades: Increase distribution upgrade timeout to 3 days
- 12 hours might genuinely not enough with SD cards, slow download speeds, and large number of packages (due to apps such as GNOME). Tests: - None Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
2b6bac2b73
commit
a8eba9e719
@ -335,7 +335,7 @@ def start_service(test_upgrade: bool):
|
||||
args = [
|
||||
'--unit=freedombox-dist-upgrade',
|
||||
'--description=Upgrade to new stable Debian release',
|
||||
'--property=KillMode=process', '--property=TimeoutSec=12hr',
|
||||
'--property=KillMode=process', '--property=TimeoutSec=72hr',
|
||||
f'--property=BindPaths={temp_sources_list}:{sources_list}'
|
||||
]
|
||||
subprocess.run(['systemd-run'] + args + [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user