2020-08-07 22:58:06 +02:00
|
|
|
[Unit]
|
|
|
|
Description=htpdate daemon
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2020-09-16 17:35:06 +02:00
|
|
|
PIDFile=/run/htpdate.pid
|
2020-08-07 22:58:06 +02:00
|
|
|
Environment=HTPDATE_ARGS="-a -s -t https://www.google.com"
|
|
|
|
EnvironmentFile=-/etc/default/htpdate
|
2020-09-16 17:35:06 +02:00
|
|
|
ExecStart=/usr/bin/htpdate -D -i /run/htpdate.pid $HTPDATE_ARGS
|
2020-08-07 22:58:06 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|