Skip to content

Commit

Permalink
Update docker-init.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
simeononsecurity authored Oct 21, 2024
1 parent d4fa441 commit eac4560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ run_onocoy_server() {
else
echo "Starting stunnel and NTRIP server with SSL and no mountpoint."
stunnel /etc/stunnel/stunnel.conf &
run_and_retry ntripserver -M 2 -H "127.0.0.1" -P "${TCP_OUTPUT_PORT}" -O 3 -a "127.0.0.1" -p "2101" -m "$ONOCOY_USERNAME" -c "$ONOCOY_PASSWORD" -R 5 &
run_and_retry ntripserver -M 2 -H "127.0.0.1" -P "${TCP_OUTPUT_PORT}" -O 3 -a "127.0.0.1" -p "2101" -n "$ONOCOY_USERNAME" -c "$ONOCOY_PASSWORD" -R 5 &
fi
else
echo "Starting stunnel and str2str with SSL."
Expand All @@ -105,7 +105,7 @@ run_onocoy_server() {
run_and_retry ntripserver -M 2 -H "127.0.0.1" -P "${TCP_OUTPUT_PORT}" -O 1 -a "servers.onocoy.com" -p "2101" -m "$ONOCOY_MOUNTPOINT" -n "$ONOCOY_USERNAME" -c "$ONOCOY_PASSWORD" -R 5 &
else
echo "Starting NTRIP server without SSL and no mountpoint."
run_and_retry ntripserver -M 2 -H "127.0.0.1" -P "${TCP_OUTPUT_PORT}" -O 3 -a "servers.onocoy.com" -p "2101" -m "$ONOCOY_MOUNTPOINT" -c "$ONOCOY_PASSWORD" -R 5 &
run_and_retry ntripserver -M 2 -H "127.0.0.1" -P "${TCP_OUTPUT_PORT}" -O 3 -a "servers.onocoy.com" -p "2101" -n "$ONOCOY_USERNAME" -c "$ONOCOY_PASSWORD" -R 5 &
fi
else
echo "Starting str2str without SSL."
Expand Down

0 comments on commit eac4560

Please sign in to comment.