Skip to content

Commit

Permalink
Fixed shadowsocks service
Browse files Browse the repository at this point in the history
teddysun committed May 12, 2016
1 parent 3831e2b commit 99bc0b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shadowsocks-go.sh
Original file line number Diff line number Diff line change
@@ -257,7 +257,7 @@ function install_go(){
chkconfig --add shadowsocks
chkconfig shadowsocks on
else
update-rc.d shadowsocks defaults
update-rc.d -f shadowsocks defaults
fi
# Start shadowsocks
/etc/init.d/shadowsocks start
@@ -333,7 +333,7 @@ function install_shadowsocks_go(){

# Initialization step
action=$1
[ -z $1 ] && action=install
[ -z $1 ] && action=install
case "$action" in
install)
install_shadowsocks_go

0 comments on commit 99bc0b9

Please sign in to comment.