From af51ad4f55ef2fe8685177cca4e2865aad60afe5 Mon Sep 17 00:00:00 2001 From: minoplhy Date: Tue, 11 Mar 2025 14:02:52 +0700 Subject: [PATCH] fix: set atlas mode to prod --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 4ab0e94..716a14b 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -24,4 +24,7 @@ chown -R ripe-atlas:ripe-atlas /etc/ripe-atlas || true #mkdir -p /var/atlas-probe/state #chown -R ripe-atlas:ripe-atlas /var/atlas-probe/state || true +# (init) set atlas mode to prod +echo "prod" > /etc/ripe-atlas/mode || true + exec setpriv --reuid=$ATLAS_UID --regid=$ATLAS_GID --init-groups "$@"