htpdate.service 304 B

12345678910111213
  1. [Unit]
  2. Description=htpdate daemon
  3. After=network.target
  4. [Service]
  5. Type=forking
  6. PIDFile=/run/htpdate.pid
  7. Environment=HTPDATE_ARGS="-a -s -t https://www.google.com"
  8. EnvironmentFile=-/etc/default/htpdate
  9. ExecStart=/usr/sbin/htpdate -D -i /run/htpdate.pid $HTPDATE_ARGS
  10. [Install]
  11. WantedBy=multi-user.target