更新 xray/xray.init

This commit is contained in:
2025-09-13 02:41:26 +00:00
parent 2ddb31eb07
commit 363cebee4e
+2 -1
View File
@@ -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]" || \