mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-21 21:30:11 +00:00
GPSD_DEBUG env var (#106)
This commit is contained in:
parent
b567f4966e
commit
e674880ddb
2 changed files with 6 additions and 0 deletions
|
@ -801,6 +801,8 @@ This will:
|
||||||
- configure the ultrafeeder docker container to read GPSD data
|
- configure the ultrafeeder docker container to read GPSD data
|
||||||
- configure the ultrafeeder container so the hostname `host.docker.internal` always resolves to the IP address of the underlying machine (where `gpsd` is running)
|
- configure the ultrafeeder container so the hostname `host.docker.internal` always resolves to the IP address of the underlying machine (where `gpsd` is running)
|
||||||
|
|
||||||
|
If you have any issues, readsb will use verbose output if you add the `GPSD_DEBUG=true` as an environment variable.
|
||||||
|
|
||||||
### Optional parameters regulating the restart of `mlat-client` when the location changes
|
### Optional parameters regulating the restart of `mlat-client` when the location changes
|
||||||
|
|
||||||
The following parameters are all optional and are subject to change. You don't need to set them unless you want to change the default behavior:
|
The following parameters are all optional and are subject to change. You don't need to set them unless you want to change the default behavior:
|
||||||
|
|
|
@ -139,6 +139,10 @@ if [ -n "${READSB_DEBUG}" ]; then
|
||||||
READSB_CMD+=("--debug=$READSB_DEBUG")
|
READSB_CMD+=("--debug=$READSB_DEBUG")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if chk_enabled "$GPSD_DEBUG"; then
|
||||||
|
READSB_CMD+=("--devel=debugGPS")
|
||||||
|
fi
|
||||||
|
|
||||||
# Handle --write-state-only-on-exit
|
# Handle --write-state-only-on-exit
|
||||||
if chk_enabled "${READSB_WRITE_STATE_ONLY_ON_EXIT}"; then
|
if chk_enabled "${READSB_WRITE_STATE_ONLY_ON_EXIT}"; then
|
||||||
READSB_CMD+=("--write-state-only-on-exit")
|
READSB_CMD+=("--write-state-only-on-exit")
|
||||||
|
|
Loading…
Reference in a new issue