summaryrefslogtreecommitdiffstats
path: root/gpsdate.service
diff options
context:
space:
mode:
Diffstat (limited to 'gpsdate.service')
-rw-r--r--gpsdate.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/gpsdate.service b/gpsdate.service
new file mode 100644
index 0000000..d4a26b4
--- /dev/null
+++ b/gpsdate.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Set time based on GPS
+
+[Service]
+Type=forking
+EnvironmentFile=/etc/default/gpsdate
+ExecStart=/usr/sbin/gpsdate ${GPSDATE_HOST} ${GPSDATE_PORT}