Skip to content

Commit

Permalink
Update shadowsocks-gfwlist
Browse files Browse the repository at this point in the history
  • Loading branch information
bettermanbao committed Aug 29, 2017
1 parent 6509deb commit e6f7df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/shadowsocks-gfwlist
Expand Up @@ -10,12 +10,12 @@ CONFIG=/etc/shadowsocks.json

start() {
service_start /usr/bin/ss-redir -c $CONFIG -b 0.0.0.0 -l 1081
service_start /usr/bin/ss-local -c $CONFIG
service_start /usr/bin/ss-local -c $CONFIG
/usr/bin/ss-watchdog >> /var/log/shadowsocks_watchdog.log 2>&1 &
}

stop() {
kill -9 "`pidof ss-watchdog`"
service_stop /usr/bin/ss-local
service_stop /usr/bin/ss-redir
service_stop /usr/bin/ss-redir
}

0 comments on commit e6f7df4

Please sign in to comment.