summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2016-05-12 12:36:04 -0400
committerEric S. Raymond <esr@thyrsus.com>2016-05-12 12:36:04 -0400
commitc5fb322393ab624185c809710c95c841a8c0ae9d (patch)
tree6eaf03d7da994b275763f64f377aae5786211f4d /systemd
parent237010cef939adfadb9df7e7eeebe8bb5125207c (diff)
downloadgpsd-c5fb322393ab624185c809710c95c841a8c0ae9d.tar.gz
In systemd, change gpsd to a forking service.
Diffstat (limited to 'systemd')
-rw-r--r--systemd/gpsd.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/gpsd.service b/systemd/gpsd.service
index ad4be793..2707ff90 100644
--- a/systemd/gpsd.service
+++ b/systemd/gpsd.service
@@ -5,9 +5,10 @@ Requires=gpsd.socket
After=chronyd.service
[Service]
+Type=forking
EnvironmentFile=-/etc/default/gpsd
EnvironmentFile=-/etc/sysconfig/gpsd
-ExecStart=/usr/sbin/gpsd -N $GPSD_OPTIONS $OPTIONS $DEVICES
+ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES
[Install]
WantedBy=multi-user.target