diff --git a/net/shadowsocks-libev/Makefile b/net/shadowsocks-libev/Makefile index 47b17f7f9..13cd4f01e 100644 --- a/net/shadowsocks-libev/Makefile +++ b/net/shadowsocks-libev/Makefile @@ -14,7 +14,7 @@ include $(TOPDIR)/rules.mk # PKG_NAME:=shadowsocks-libev PKG_VERSION:=3.1.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/shadowsocks/shadowsocks-libev/releases/download/v$(PKG_VERSION) diff --git a/net/shadowsocks-libev/files/shadowsocks-libev.init b/net/shadowsocks-libev/files/shadowsocks-libev.init index 1b08f41df..3ff54ddf4 100644 --- a/net/shadowsocks-libev/files/shadowsocks-libev.init +++ b/net/shadowsocks-libev/files/shadowsocks-libev.init @@ -115,6 +115,7 @@ ss_xxx() { procd_open_instance "$cfgtype.$cfg" procd_set_param command "$bin" -c "$confjson" [ "$verbose" = 0 ] || procd_append_param command -v + [ "$no_delay" = 0 ] || procd_append_param command --no-delay [ -z "$bind_address" ] || procd_append_param command -b "$bind_address" [ -z "$manager_address" ] || procd_append_param command --manager-address "$manager_address" procd_set_param file "$confjson" @@ -258,6 +259,7 @@ validate_common_options_() { 'disabled:bool:0' \ 'fast_open:bool:0' \ 'ipv6_first:bool:0' \ + 'no_delay:bool:0' \ 'reuse_port:bool:0' \ 'verbose:bool:0' \ 'mode:or("tcp_only", "udp_only", "tcp_and_udp"):tcp_only' \