upgrade.sh delegates to wrolpi-upgrade service so that logs are visible in controller, even if launched from terminal.

This commit is contained in:
Roland 2026-02-03 16:42:06 -07:00
parent 98d670feb7
commit d697fc4603
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
2 changed files with 19 additions and 0 deletions

View file

@ -4,6 +4,7 @@ After=network.target
[Service]
Type=oneshot
Environment=WROLPI_UPGRADE_SERVICE=1
EnvironmentFile=/tmp/wrolpi-upgrade.env
ExecStart=/opt/wrolpi/upgrade.sh -b ${BRANCH}
User=root