fix source not found errors during startup

This commit is contained in:
James Swineson 2023-06-23 21:48:29 +08:00 committed by GitHub
parent 8fdf9f1a2e
commit 14b9668714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,8 @@ set -Eeuo pipefail
CONFIG_FILE="/var/atlas-probe/state/config.txt" CONFIG_FILE="/var/atlas-probe/state/config.txt"
declare -a OPTIONS=( declare -a OPTIONS=(
"RXTXRPT" "RXTXRPT"
"HTTP_POST_PORT"
"TELNETD_PORT"
) )
# test essential syscalls # test essential syscalls
@ -36,4 +38,6 @@ for OPT in "${OPTIONS[@]}"; do
fi fi
done done
export ATLAS_STATIC="/usr/local/atlas"
exec gosu atlas:atlas "$@" exec gosu atlas:atlas "$@"