shell-things/etc/systemd/system/gpsd.service.d/aminda-additions.conf

11 lines
339 B
Plaintext
Raw Normal View History

2024-07-18 12:03:09 +02:00
[Service]
Type=exec
2024-07-18 12:03:09 +02:00
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