gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] autostart on Debian


From: Robin Schwab
Subject: Re: [gpsd-users] autostart on Debian
Date: Sun, 21 Aug 2016 10:23:10 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Am 21.08.2016 um 04:11 schrieb Gary E. Miller:
Thank you for that, if you would consider sending me a dif to that file
with your changes I would love to get it.

Dear Gary
I use in /etc/systemd/system/gpsd.service
[Unit]
Description=GPS (Global Positioning System) Daemon
Requires=gpsd.socket
# Needed with chrony SOCK refclock
After=chronyd.service

[Service]
EnvironmentFile=-/etc/default/gpsd
EnvironmentFile=-/etc/sysconfig/gpsd
ExecStart=/usr/local/sbin/gpsd -N $GPSD_OPTIONS $OPTIONS $DEVICES

[Install]
WantedBy=multi-user.target
Also=gpsd.socket

In /etc/default/gpsd I have:

START_DAEMON="true"
GPSD_OPTIONS="-n"
DEVICES="/dev/ttyS0"
USBAUTO="false"
GPSD_SOCKET="/var/run/gpsd.sock"

Both files I had to create them manually, they were not included in the scons install routine.

Regards
Robin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]