2011-07-26 15:13:40 +00:00
|
|
|
[Unit]
|
|
|
|
Description=GPS Service Daemon
|
2011-08-23 11:26:07 +00:00
|
|
|
After=syslog.target network.target chronyd.service
|
2011-07-26 15:13:40 +00:00
|
|
|
|
|
|
|
[Service]
|
2011-08-22 15:18:31 +00:00
|
|
|
Type=simple
|
2011-07-26 15:13:40 +00:00
|
|
|
PIDFile=/var/run/gpsd.pid
|
|
|
|
EnvironmentFile=-/etc/sysconfig/gpsd
|
2011-08-22 15:18:31 +00:00
|
|
|
ExecStart=/usr/sbin/gpsd -P /var/run/gpsd.pid -F /var/run/gpsd.sock -N $OPTIONS $DEVICE
|
|
|
|
StandardError=syslog
|
2011-07-26 15:13:40 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|