From b6f9d7e7bc5d028917dfc97209e77dcedd068220 Mon Sep 17 00:00:00 2001 From: HalfLife Date: Sat, 21 May 2022 23:19:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dopenwrt=E4=B8=ADstop=E3=80=81?= =?UTF-8?q?restart=E6=97=B6=E6=97=A0=E6=B3=95=E6=AD=A3=E7=A1=AE=E7=BB=88?= =?UTF-8?q?=E6=AD=A2=E7=A8=8B=E5=BA=8F=EF=BC=8C=E5=AF=BC=E8=87=B4=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E7=AB=AF=E5=8F=A3=E8=A2=AB=E5=8D=A0=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/openwrt/files/etc/init.d/smartdns | 1 + 1 file changed, 1 insertion(+) diff --git a/package/openwrt/files/etc/init.d/smartdns b/package/openwrt/files/etc/init.d/smartdns index 6e1871e..fd312af 100644 --- a/package/openwrt/files/etc/init.d/smartdns +++ b/package/openwrt/files/etc/init.d/smartdns @@ -377,6 +377,7 @@ load_service() procd_set_param command /usr/sbin/smartdns -f -c $SMARTDNS_CONF $args [ "$RESPAWN" = "1" ] && procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5} procd_set_param file "$SMARTDNS_CONF" + procd_set_param term_timeout 60 procd_close_instance }