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}