修复openwrt中stop、restart时无法正确终止程序,导致第一端口被占用

This commit is contained in:
HalfLife
2022-05-21 23:19:08 +08:00
committed by Nick Peng
parent e6fe6771bf
commit b6f9d7e7bc

View File

@@ -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
}