The previous version was written against gpsd 3.10. This also makes the
date more precise, previously microseconds were set to 0.
GPSD_API_MAJOR_VERSION is defined in gps.h, together with a changelog:
https://gitlab.com/gpsd/gpsd/-/blob/master/include/gps.h
Related: SYS#6222
gps-watchdog is a small tool that will connect to gpsd as a client using
libgps. If no data is received for a configurable timeout, a
configurable systemd service will be killed via 'systemctl kill'.
The idea is that this will restart gpsd, and some ExecStartPre of the
gpsd service is then re-initializing the gps receiver hardware.