Compare commits

...

3 Commits

4 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,4 @@
refclock SHM 0 poll 3 refid GPS1
# unlikely to work with usb
refclock SHM 1 refid GPS2
refclock SOCK /var/run/chrony.ttyUSB0.sock refid SOCK

View File

@ -626,6 +626,18 @@
"Value": "https://beacondb.net/v1/geolocate",
"Value_positon": "https://api.positon.xyz/?key=74600654-2aec-11ef-aa95-3b7218da6865"
},
"geo.provider.use_geoclue": {
"Comment": "Helpful especially with /etc/geolocation",
"Status": "default",
"Type": "boolean",
"Value": true
},
"geo.provider.use_gpsd": {
"Comment": "I am trying to see if gpsd will speak to other apps too.",
"Status": "default",
"Type": "boolean",
"Value": true
},
"image.animation.mode": {
"Comment": "Preference not allowed for stability reasons. :(",
"Status": "default",

1
etc/gpsd.aminda.conf Normal file
View File

@ -0,0 +1 @@
#AMINDAGPSD=""

View File

@ -0,0 +1,10 @@
[Service]
Type=exec
EnvironmentFile=-/etc/gpsd.aminda.conf
ExecStart=
# PRIVACY WARNING! --listenany happily allows anyone to ask where the host is
ExecStartPre=-/usr/sbin/modprobe pps_ldisc
ExecStart=/usr/sbin/gpsd /dev/gps0 --listenany --nowait --foreground $AMINDAGPSD
ExecReload=/usr/bin/killall -HUP gpsd
Restart=always
RestartSec=5s