From df336954534ea7e57b8312094663bd4bd6a5226d Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 30 Apr 2026 09:22:19 +0200 Subject: [PATCH] Update authentik.sh --- ct/authentik.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ct/authentik.sh b/ct/authentik.sh index 728fdec0..e302ea78 100644 --- a/ct/authentik.sh +++ b/ct/authentik.sh @@ -100,14 +100,14 @@ start build_container msg_info "Attaching data storage volume" -pct stop "$CTID" -pct set "$CTID" -mp0 "${CONTAINER_STORAGE}":1,mp=/opt/authentik-data,backup=1 -pct start "$CTID" +$STD pct stop "$CTID" +$STD pct set "$CTID" -mp0 "${CONTAINER_STORAGE}":1,mp=/opt/authentik-data,backup=1 +$STD pct start "$CTID" for i in {1..10}; do pct status "$CTID" | grep -q "status: running" && break sleep 1 done -pct exec "$CTID" -- bash -c "mkdir -p /opt/authentik-data/{certs,media,geoip,templates}; \ +$STD pct exec "$CTID" -- bash -c "mkdir -p /opt/authentik-data/{certs,media,geoip,templates}; \ cp /opt/authentik/tests/GeoLite2-ASN-Test.mmdb /opt/authentik-data/geoip/GeoLite2-ASN.mmdb; \ cp /opt/authentik/tests/GeoLite2-City-Test.mmdb /opt/authentik-data/geoip/GeoLite2-City.mmdb; \ chown authentik:authentik /opt/authentik-data; \