mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +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]
|
[Service]
|
||||||
Type=oneshot
|
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
|
KillMode=process
|
||||||
TimeoutSec=12hr
|
TimeoutSec=12hr
|
||||||
'''
|
'''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user