@ -117,7 +117,6 @@ ss_xxx() {
[ "$verbose" = 0 ] || procd_append_param command -v
[ "$verbose" = 0 ] || procd_append_param command -v
[ "$no_delay" = 0 ] || procd_append_param command --no-delay
[ "$no_delay" = 0 ] || procd_append_param command --no-delay
[ -z "$bind_address" ] || procd_append_param command -b "$bind_address"
[ -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"
procd_set_param file "$confjson"
procd_set_param respawn
procd_set_param respawn
procd_close_instance
procd_close_instance
@ -306,8 +305,7 @@ validate_ss_server_section() {
validate_common_server_options_ ss_server "$1" \
validate_common_server_options_ ss_server "$1" \
validate_common_options_ \
validate_common_options_ \
"${2}" \
"${2}" \
'bind_address:ipaddr' \
'manager_address:host'
'bind_address:ipaddr'
}
}
validate_ss_tunnel_section() {
validate_ss_tunnel_section() {