FreedomBox/plinth/modules/upgrades/data/lib/systemd/system/freedombox-manual-upgrade.service
James Valleroy 2d1ced84cd
upgrades: Use a custom service for manual update
- Do not enable/start service during package install/upgrade
- Configure needrestart to skip restarting service

Closes: #1638.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Provide proper regex string in needrestart configuration with qr()]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-06-15 13:33:31 -07:00

9 lines
146 B
Desktop File

[Unit]
Description=Run unattended-upgrade once
[Service]
Type=oneshot
ExecStart=unattended-upgrade --verbose
KillMode=process
TimeoutStopSec=900