mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
upgrades: Update apt cache before manual update
Test: - Run manual update. `journalctl -u freedombox-manual-upgrade` shows that apt cache was updated. Closes: #1708. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> [sunil: Split the update command into ExecStartPre= with return code ignored] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
5e6a661648
commit
172ffe106b
@ -3,6 +3,7 @@ Description=Run unattended-upgrade once
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStartPre=-apt-get update --assume-yes --quiet
|
||||
ExecStart=unattended-upgrade --verbose
|
||||
KillMode=process
|
||||
TimeoutStopSec=900
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user