gpsd.service.d/aminda-additions.conf: remove /dev/gps0, it fits the EnvironmentFile better

This commit is contained in:
Aminda Suomalainen 2024-07-20 10:21:20 +03:00
parent 7deb9c3e01
commit f9882b31b9
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 2 additions and 1 deletions

View File

@ -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.