14 lines
315 B
Desktop File
14 lines
315 B
Desktop File
[Unit]
|
|
Description=GPS Service Daemon
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/default/gpsd
|
|
ExecStartPre=/bin/stty -F $GPS_DEVICES speed $GPS_BAUDRATE
|
|
ExecStart=/usr/sbin/gpsd -N -F $GPSD_SOCKET $GPSD_OPTIONS $GPS_DEVICES
|
|
Restart=always
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|