diff options
Diffstat (limited to 'htpdate/htpdate.service')
-rw-r--r-- | htpdate/htpdate.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/htpdate/htpdate.service b/htpdate/htpdate.service new file mode 100644 index 0000000..509b072 --- /dev/null +++ b/htpdate/htpdate.service | |||
@@ -0,0 +1,11 @@ | |||
1 | [Unit] | ||
2 | Description=Htpdate daemon | ||
3 | |||
4 | [Service] | ||
5 | Type=forking | ||
6 | PIDFile=/run/htpdate.pid | ||
7 | ExecStart=/usr/bin/htpdate -D -a -s -i /run/htpdate.pid www.linux.org www.freebsd.org ntp.neu.edu.cn www.kernel.org | ||
8 | |||
9 | [Install] | ||
10 | WantedBy=multi-user.target | ||
11 | |||