Skip to content

Commit

Permalink
Fix: use ssserver binary for server on Shadowsocks-Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Nov 26, 2024
1 parent 4a4ab3d commit ec9e890
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion shadowsocks-rust/files/shadowsocks-rust.init-nft
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ ss_xxx() {
local cfg="$1"
local cfgtype="$2"
# local bin="$ss_bindir/${cfgtype/_/-}"
local bin="$ss_bindir/sslocal"
if [ "$cfgtype" = "ss_server" ]; then
local bin="$ss_bindir/ssserver"
else
local bin="$ss_bindir/sslocal"
fi
local confjson="$ss_confdir/$cfgtype.$cfg.json"

[ -x "$bin" ] || return
Expand Down

0 comments on commit ec9e890

Please sign in to comment.