1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-23 16:17:36 +02:00
openwrt-packages/net/htpdate/files/htpdate.conf
Marcin Jurkowski 73dbc6cf92 htpdate: modify init scripts to use procd and uci configuration
Modify init script to use standard uci configuration and procd for
process management. We benefit from:
- use of standard LEDE configuration with its ability to revert and
  commit changes
- validation of configuration variables
- procd taking care of restarting daemon when config changes and user
  wants to reload it
- automatic respawning of daemon process in case it dies

The source is patched to make it possible to run as a daemon in
foreground.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
2017-09-15 10:51:31 +02:00

12 lines
268 B
Plaintext

config htpdate 'htpdate'
option enabled 1
list server 'www.google.com'
list server 'www.yahoo.com'
list server 'www.linux.com'
list server 'www.freebsd.org'
option proxy_host ''
option proxy_port '8080'
option debug 0
option sanity_check 1
#list option '-4'