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

View File

@ -9,7 +9,8 @@ ExecStartPre=-/usr/sbin/modprobe pps_ldisc
# Empty ExecStart= before the actual ExecStart= removes the original # Empty ExecStart= before the actual ExecStart= removes the original
# ExecStart= line # ExecStart= line
ExecStart= 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 # Missing from the original unit, will reconnect all GPS says man gpsd
ExecReload=/usr/bin/killall -HUP gpsd ExecReload=/usr/bin/killall -HUP gpsd
# Avoiding systemd considering the unit as failed. # Avoiding systemd considering the unit as failed.