1
0
Fork 0
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:
wiedehopf 2024-06-29 13:47:24 +02:00 committed by GitHub
parent b567f4966e
commit e674880ddb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -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:

View file

@ -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")