diff --git a/README.md b/README.md index e00d45b..aa71595 100644 --- a/README.md +++ b/README.md @@ -801,6 +801,8 @@ This will: - 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) +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 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: diff --git a/rootfs/etc/s6-overlay/scripts/readsb b/rootfs/etc/s6-overlay/scripts/readsb index 8536ea6..3939374 100755 --- a/rootfs/etc/s6-overlay/scripts/readsb +++ b/rootfs/etc/s6-overlay/scripts/readsb @@ -139,6 +139,10 @@ if [ -n "${READSB_DEBUG}" ]; then READSB_CMD+=("--debug=$READSB_DEBUG") fi +if chk_enabled "$GPSD_DEBUG"; then + READSB_CMD+=("--devel=debugGPS") +fi + # Handle --write-state-only-on-exit if chk_enabled "${READSB_WRITE_STATE_ONLY_ON_EXIT}"; then READSB_CMD+=("--write-state-only-on-exit")