upgrades: Add service for dist upgrade

Only restart plinth if needed.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
James Valleroy authored and Sunil Mohan Adapa committed 2021-01-10 20:43:40 -08:00
1 parent 66b0238146
commit 8934c22ef3
3 files changed
+38 -24

No files matched your search

@@ -0,0 +1,9 @@
[Unit]
Description=Upgrade to new stable Debian release
[Service]
Type=simple
ExecStart=/usr/share/plinth/actions/upgrades dist-upgrade
KillMode=none
TimeoutStopSec=3600
Restart=no