fix(update): sudo für apt-get update — Banner blieb sonst auf altem Stand

API läuft als edgeguard-User; ohne /etc/sudoers.d/edgeguard-Whitelist
schreibt apt-get update nicht in /var/lib/apt/lists/ und der candidate
bleibt auf dem Stand des letzten postinst-Runs. Erfordert einmalig
manuelles `sudo apt-get update && apt install edgeguard-api edgeguard-ui
edgeguard` um auf 1.0.48 zu kommen — ab dann läuft der Check automatisch.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Debian
2026-05-11 14:28:37 +02:00
parent 62505d547c
commit 05850934fb
8 changed files with 113 additions and 6 deletions

View File

@@ -47,7 +47,7 @@ import (
wgsvc "git.netcell-it.de/projekte/edgeguard-native/internal/services/wireguard"
)
var version = "1.0.47"
var version = "1.0.48"
func main() {
addr := os.Getenv("EDGEGUARD_API_ADDR")