[gpsd/f20] update gpsd service file
Miroslav Lichvar
mlichvar at fedoraproject.org
Fri Feb 14 13:16:59 UTC 2014
commit 7a4e05021314febb46df62260affa3eaad8c7232
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date: Mon Dec 2 19:07:47 2013 +0100
update gpsd service file
gpsd.service | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/gpsd.service b/gpsd.service
index 529ed30..1f20e3e 100644
--- a/gpsd.service
+++ b/gpsd.service
@@ -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
More information about the scm-commits
mailing list