scripts/htpdate.service
raw| 1 | [Unit] |
| 2 | Description=HTTP Time Protocol daemon (htpdate) |
| 3 | Documentation=man:htpdate(8) |
| 4 | After=network-online.target |
| 5 | |
| 6 | [Service] |
| 7 | Type=exec |
| 8 | Environment=HTPDATE_ARGS="-st www.example.com" |
| 9 | EnvironmentFile=-/etc/default/htpdate |
| 10 | ExecStart=/usr/sbin/htpdate -F $HTPDATE_ARGS |
| 11 | |
| 12 | [Install] |
| 13 | WantedBy=multi-user.target |