From 14b96687144925b924475946b218277742cacd9e Mon Sep 17 00:00:00 2001 From: James Swineson Date: Fri, 23 Jun 2023 21:48:29 +0800 Subject: [PATCH] fix source not found errors during startup --- entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 80dd269..1498f62 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,6 +4,8 @@ set -Eeuo pipefail CONFIG_FILE="/var/atlas-probe/state/config.txt" declare -a OPTIONS=( "RXTXRPT" + "HTTP_POST_PORT" + "TELNETD_PORT" ) # test essential syscalls @@ -36,4 +38,6 @@ for OPT in "${OPTIONS[@]}"; do fi done +export ATLAS_STATIC="/usr/local/atlas" + exec gosu atlas:atlas "$@"