mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-12-25 05:42:00 +00:00
fix logging
This commit is contained in:
parent
8af1ec1e33
commit
31ae9e3a99
1 changed files with 2 additions and 2 deletions
|
@ -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
|
Loading…
Reference in a new issue