1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-11-21 13:20:11 +00:00

fix logging

This commit is contained in:
kx1t 2023-10-13 08:40:38 -04:00
parent 8af1ec1e33
commit 31ae9e3a99

View file

@ -37,7 +37,7 @@ mkdir -p /run/adsbexchange-stats
# wait until readsb is established...
if ! pgrep readsb >/dev/null; then
if [[ -z "${LOGLEVEL}" ]] || [[ "${LOGLEVEL,,}" == "verbose" ]]; then
"${s6wrap[@]}" --args echo "Delaying start of the AdsbExchange Stats module until container is established..."
"${s6wrap[@]}" echo "Delaying start of the AdsbExchange Stats module until container is established..."
fi
while ! pgrep readsb >/dev/null
do
@ -47,6 +47,6 @@ if ! pgrep readsb >/dev/null; then
sleep 2 & wait $!
fi
"${s6wrap[@]}" --args echo "invoking: /usr/local/bin/json-status"
"${s6wrap[@]}" echo "invoking: /usr/local/bin/json-status"
"${s6wrap[@]}" /usr/local/bin/json-status