mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
upgrades: Inhibit shutdown during dist-upgrade
Tests: - Start a dist-upgrade from stable to testing. Dist upgrade is completed as expected. "The system will reboot" message appears only after freedombox-dist-upgrade.service has completed. Helps: #2090 Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
674da2b9c8
commit
d0e25e5239
@ -75,7 +75,8 @@ Description=Upgrade to new stable Debian release
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/share/plinth/actions/actions upgrades dist_upgrade --no-args
|
||||
ExecStart=systemd-inhibit /usr/share/plinth/actions/actions \
|
||||
upgrades dist_upgrade --no-args
|
||||
KillMode=process
|
||||
TimeoutSec=12hr
|
||||
'''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user