Skip to content

Commit

Permalink
add missing config
Browse files Browse the repository at this point in the history
  • Loading branch information
abuabraham-ttd committed Feb 21, 2025
1 parent c5870f5 commit 2af2642
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions scripts/aws/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,19 @@ exec &> >(tee -a "$LOG_FILE")
PARAMETERIZED_CONFIG="/app/conf/config-overrides.json"
OPERATOR_CONFIG="/tmp/final-config.json"

setup_auxiliaries() {
set -o pipefail
ulimit -n 65536

set -o pipefail
ulimit -n 65536

# -- setup loopback device
echo "Setting up loopback device..."
ifconfig lo 127.0.0.1
echo "Setting up loopback device..."
ifconfig lo 127.0.0.1

# -- start vsock proxy
echo "Starting vsock proxy..."
/app/vsockpx --config /app/proxies.nitro.yaml --daemon --workers $(( ( $(nproc) + 3 ) / 4 )) --log-level 3
echo "Starting vsock proxy..."
/app/vsockpx --config /app/proxies.nitro.yaml --daemon --workers $(( ( $(nproc) + 3 ) / 4 )) --log-level 3

/usr/sbin/syslog-ng --verbose
}
/usr/sbin/syslog-ng --verbose


build_parameterized_config() {
Expand Down Expand Up @@ -79,7 +78,6 @@ build_operator_config() {

}

setup_auxiliaries
build_parameterized_config
build_operator_config

Expand Down Expand Up @@ -108,3 +106,4 @@ java \
-Dlogback.configurationFile=${LOGBACK_CONF} \
-Dhttp_proxy=socks5://127.0.0.1:3305 \
-jar /app/"${JAR_NAME}"-"${JAR_VERSION}".jar

0 comments on commit 2af2642

Please sign in to comment.