forked from sysmocom/gpsdate
systemd: Add a simple service file gpsdate
Expect that it forks and that a /etc/default/gpsdate file does exist.
This commit is contained in:
parent
019d2535b6
commit
2326eee789
|
@ -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}
|
Loading…
Reference in New Issue