Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Dec 27, 2023
1 parent 65f6158 commit ccdd823
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rootfs/etc/s6-overlay/scripts/radar1090
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ if ! valid_ip "$beast_host"; then
fi

if ! nc -z "${beast_host}" 30005 >/dev/null 2>&1; then
"${s6wrap[@]}" --args echo "INFO: Waiting for BEASTHOST (${BEASTHOST:-ultrafeeder}/${beast_host}) to come online."
"${s6wrap[@]}" --args echo "INFO: Waiting for BEASTHOST (${BEASTHOST:-ultrafeeder}/${beast_host}) to come online"
while ! nc -z "${beast_host}" 30005 >/dev/null 2>&1; do
sleep 1
done
"${s6wrap[@]}" --args echo "INFO: BEASTHOST (${BEASTHOST:-ultrafeeder}/${beast_host}) is now online"
fi

RADAR_BIN=(stdbuf -oL /usr/sbin/radar)
Expand Down

0 comments on commit ccdd823

Please sign in to comment.