From 7c0121c06a39327d453a984d362b20741a037bc2 Mon Sep 17 00:00:00 2001 From: SirPdboy <63764630+sirpdboy@users.noreply.github.com> Date: Sat, 18 Nov 2023 16:38:52 +0800 Subject: [PATCH] =?UTF-8?q?Update=20ddns-go.init=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=AB=AF=E5=8F=A3=E6=97=A0=E6=95=88=E7=AD=89?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ddns-go/ddns-go/file/ddns-go.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ddns-go/ddns-go/file/ddns-go.init b/ddns-go/ddns-go/file/ddns-go.init index 312bd1b11..15b2efe9e 100644 --- a/ddns-go/ddns-go/file/ddns-go.init +++ b/ddns-go/ddns-go/file/ddns-go.init @@ -57,9 +57,9 @@ start_instance() { [[ x$enabled = x1 ]] || return 1 [[ -s ${CONF} ]] || init_yaml config_get_bool logger $cfg logger 1 - config_get_bool port $cfg port '9876' + config_get port $cfg port '9876' append_parm "$cfg" 'time' '-f' '300' - append_parm "$cfg" 'ctimes' 'cacheTimes' '5' + append_parm "$cfg" 'ctimes' '-cacheTimes' '5' append_parm "$cfg" 'dns' '-dns' '223.5.5.5' append_parm "$cfg" 'noweb' '-noweb' append_parm "$cfg" 'skipverify' '-skipVerify'