Skip to content

Commit

Permalink
判断ssserver有没有安装成功
Browse files Browse the repository at this point in the history
  • Loading branch information
flyzy2005 committed Apr 17, 2018
1 parent 7ce1f64 commit 558ba05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ss-fly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ install() {
pip install shadowsocks
chmod 755 /etc/shadowsocks.json
apt-get install python-m2crypto
command -v ssserver >/dev/null 2>&1 || { echo >&2 "请确保你服务器(服务器,不是你自己的电脑)的系统是Ubuntu。如果系统是Ubuntu,似乎因为网络原因ss没有安装成功,请再执行一次搭建ss脚本代码。如果试了几次还是不行,执行reboot命令重启下服务器之后再试下,如果还是不行,请联系flyzy小站。"; exit 1; }
ps -fe|grep ssserver |grep -v grep > /dev/null 2>&1
if [ $? -ne 0 ]
then
Expand Down

0 comments on commit 558ba05

Please sign in to comment.