mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-21 21:30:11 +00:00
add readsb automation args
useful to have a second env var to use with automation so the user can still use READSB_EXTRA_ARGS
This commit is contained in:
parent
9517b24007
commit
3f5abd4a47
1 changed files with 3 additions and 3 deletions
|
@ -350,9 +350,9 @@ fi
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
if [[ "${LOGLEVEL,,}" == "verbose" ]]; then
|
if [[ "${LOGLEVEL,,}" == "verbose" ]]; then
|
||||||
exec "${s6wrap[@]}" --args "${READSB_BIN}" "${READSB_CMD[@]}" $READSB_EXTRA_ARGS
|
exec "${s6wrap[@]}" --args "${READSB_BIN}" "${READSB_CMD[@]}" $READSB_AUTOMATION_ARGS $READSB_EXTRA_ARGS
|
||||||
elif [[ "${LOGLEVEL,,}" == "error" ]]; then
|
elif [[ "${LOGLEVEL,,}" == "error" ]]; then
|
||||||
exec "${s6wrap[@]}" --ignore=stdout --args "${READSB_BIN}" "${READSB_CMD[@]}" $READSB_EXTRA_ARGS
|
exec "${s6wrap[@]}" --ignore=stdout --args "${READSB_BIN}" "${READSB_CMD[@]}" $READSB_AUTOMATION_ARGS $READSB_EXTRA_ARGS
|
||||||
elif [[ "${LOGLEVEL,,}" == "none" ]]; then
|
elif [[ "${LOGLEVEL,,}" == "none" ]]; then
|
||||||
exec "${s6wrap[@]}" --ignore=stdout --ignore=stderr --args "${READSB_BIN}" "${READSB_CMD[@]}" $READSB_EXTRA_ARGS
|
exec "${s6wrap[@]}" --ignore=stdout --ignore=stderr --args "${READSB_BIN}" "${READSB_CMD[@]}" $READSB_AUTOMATION_ARGS $READSB_EXTRA_ARGS
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue