Add chkconfig for shadowsocks

This commit is contained in:
Teddysun 2014-05-29 10:40:37 +08:00
parent 3200e9b9db
commit 230da1c76d

View File

@ -33,8 +33,10 @@ stop(){
RETVAL=$? RETVAL=$?
if [ "$RETVAL" = "0" ]; then if [ "$RETVAL" = "0" ]; then
rm -f $pid rm -f $pid
fi
echo "$name stop success" echo "$name stop success"
else
echo "$name stop failed"
fi
else else
echo "$name is not running" echo "$name is not running"
RETVAL=1 RETVAL=1