update gpsd service file

This commit is contained in:
Miroslav Lichvar 2013-12-02 19:07:47 +01:00
parent e4452bf264
commit e4c3efdaec

View File

@ -1,13 +1,11 @@
[Unit]
Description=GPS Service Daemon
After=syslog.target network.target chronyd.service
Description=GPS (Global Positioning System) Daemon
# Needed with chrony SOCK refclock
After=chronyd.service
[Service]
Type=simple
PIDFile=/var/run/gpsd.pid
EnvironmentFile=-/etc/sysconfig/gpsd
ExecStart=/usr/sbin/gpsd -P /var/run/gpsd.pid -F /var/run/gpsd.sock -N $OPTIONS $DEVICE
StandardError=syslog
ExecStart=/usr/sbin/gpsd -F /var/run/gpsd.sock -N $OPTIONS $DEVICE
[Install]
WantedBy=multi-user.target