From 363cebee4e5de2cbd29b80b63967d141ab1af741 Mon Sep 17 00:00:00 2001 From: dongge <771281703@qq.com> Date: Sat, 13 Sep 2025 02:41:26 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20xray/xray.init?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xray/xray.init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xray/xray.init b/xray/xray.init index 2b135be..f775ecd 100644 --- a/xray/xray.init +++ b/xray/xray.init @@ -91,8 +91,9 @@ stop() done status | grep "xray is stopped..." && return 0 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` + killall xray > /dev/null 2> 1 sleep 1 grep -q xray /proc/`cat [xray_install_directory]/run.pid`/comm && \ echo -e "\033[60G[\033[31mFAILED\033[0m]" || \