Add chkconfig for shadowsocks
This commit is contained in:
parent
3200e9b9db
commit
230da1c76d
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user