summaryrefslogtreecommitdiffstats
path: root/gpsdate.service
diff options
context:
space:
mode:
Diffstat (limited to 'gpsdate.service')
-rw-r--r--gpsdate.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsdate.service b/gpsdate.service
index d4a26b4..869f076 100644
--- a/gpsdate.service
+++ b/gpsdate.service
@@ -2,6 +2,6 @@
Description=Set time based on GPS
[Service]
-Type=forking
+Type=simple
EnvironmentFile=/etc/default/gpsdate
-ExecStart=/usr/sbin/gpsdate ${GPSDATE_HOST} ${GPSDATE_PORT}
+ExecStart=/usr/sbin/gpsdate --no-detach ${GPSDATE_HOST} ${GPSDATE_PORT}