更新 xray/xray.init
This commit is contained in:
+2
-1
@@ -91,8 +91,9 @@ stop()
|
|||||||
done
|
done
|
||||||
status | grep "xray is stopped..." && return 0
|
status | grep "xray is stopped..." && return 0
|
||||||
echo -n "Stopping xray:"
|
echo -n "Stopping xray:"
|
||||||
kill -9 `cat [xray_install_directory]/drun.pid`
|
kill -9 `cat [xray_install_directory]/drun.Pid`
|
||||||
kill -9 `cat [xray_install_directory]/run.pid`
|
kill -9 `cat [xray_install_directory]/run.pid`
|
||||||
|
killall xray > /dev/null 2> 1
|
||||||
sleep 1
|
sleep 1
|
||||||
grep -q xray /proc/`cat [xray_install_directory]/run.pid`/comm && \
|
grep -q xray /proc/`cat [xray_install_directory]/run.pid`/comm && \
|
||||||
echo -e "\033[60G[\033[31mFAILED\033[0m]" || \
|
echo -e "\033[60G[\033[31mFAILED\033[0m]" || \
|
||||||
|
|||||||
Reference in New Issue
Block a user