Skip to content

Commit 0cc1211

Browse files
author
clowwindy
committed
Update stackscript.sh
1 parent 4f68d72 commit 0cc1211

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stackscript.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ wget https://raw.githubusercontent.com/shadowsocks/stackscript/master/shadowsock
1111
wget https://raw.githubusercontent.com/shadowsocks/stackscript/master/shadowsocks.conf -O /etc/supervisor/conf.d/shadowsocks.conf
1212
wget https://raw.githubusercontent.com/shadowsocks/stackscript/master/local.conf -O /etc/sysctl.d/local.conf
1313

14-
sed -i -e s/SS_PASSWORD/$SS_PASSWORD/ shadowsocks.json
15-
sed -i -e s/SS_PORT/$SS_PORT/ shadowsocks.json
14+
sed -i -e s/SS_PASSWORD/$SS_PASSWORD/ /etc/shadowsocks.json
15+
sed -i -e s/SS_PORT/$SS_PORT/ /etc/shadowsocks.json
1616

1717
sysctl -p
1818

0 commit comments

Comments
 (0)