diff --git a/etc/systemd/system/gpsd.service.d/aminda-additions.conf b/etc/systemd/system/gpsd.service.d/aminda-additions.conf index 73ae0286..cf71e667 100644 --- a/etc/systemd/system/gpsd.service.d/aminda-additions.conf +++ b/etc/systemd/system/gpsd.service.d/aminda-additions.conf @@ -9,7 +9,8 @@ ExecStartPre=-/usr/sbin/modprobe pps_ldisc # Empty ExecStart= before the actual ExecStart= removes the original # ExecStart= line ExecStart= -ExecStart=/usr/sbin/gpsd /dev/gps0 --readonly --nowait --foreground $AMINDAGPSD +# Maybe specify the GPS device in /etc/gpsd.aminda.conf instead? +ExecStart=/usr/sbin/gpsd --readonly --nowait --foreground $AMINDAGPSD # Missing from the original unit, will reconnect all GPS says man gpsd ExecReload=/usr/bin/killall -HUP gpsd # Avoiding systemd considering the unit as failed.