Skip to content

Commit

Permalink
GPSD_DEBUG env var (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf authored Jun 29, 2024
1 parent b567f49 commit e674880
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions rootfs/etc/s6-overlay/scripts/readsb
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e674880

Please sign in to comment.