xref: /OK3568_Linux_fs/buildroot/package/htpdate/htpdate.service (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1[Unit]
2Description=htpdate daemon
3After=network.target
4
5[Service]
6Type=forking
7PIDFile=/run/htpdate.pid
8Environment=HTPDATE_ARGS="-a -s -t https://www.google.com"
9EnvironmentFile=-/etc/default/htpdate
10ExecStart=/usr/bin/htpdate -D -i /run/htpdate.pid $HTPDATE_ARGS
11
12[Install]
13WantedBy=multi-user.target
14