letzte Kanten: Hermes-Abruf 60 s statt 25 s, kein Pfeil auf dieselbe Version, Homelab-Container mit Sicherheitsupdates
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
39320b446d
commit
83c33584e4
@@ -8,7 +8,10 @@ ZIEL=/opt/mc2
|
||||
PARTNER="${1:-http://192.168.178.151:9001}"
|
||||
|
||||
apt-get update -q
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y -q python3 python3-venv curl ca-certificates
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y -q python3 python3-venv curl ca-certificates unattended-upgrades
|
||||
# Der Container trägt nur das Etikett mc2: Der Orchestrator aktualisiert sich nicht selbst. Sicherheitsupdates
|
||||
# spielt Debian deshalb selbst ein (unattended-upgrades, Standard: nur Security).
|
||||
systemctl enable --now unattended-upgrades.service apt-daily-upgrade.timer >/dev/null 2>&1 || true
|
||||
|
||||
id mc2 >/dev/null 2>&1 || useradd --system --home-dir /var/lib/mc2 --shell /usr/sbin/nologin mc2
|
||||
install -d -o mc2 -g mc2 -m 750 /var/lib/mc2
|
||||
|
||||
Reference in New Issue
Block a user