From e4c3efdaec5c1a96ee9d377c8ea767cf56e0a551 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 2 Dec 2013 19:07:47 +0100 Subject: [PATCH] update gpsd service file --- gpsd.service | 10 ++++------ 1 file 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