From 80c851c71dea9e0ad1ea4d319f2e3bcedf8da081 Mon Sep 17 00:00:00 2001 From: luhaoling <2198702716@qq.com> Date: Sun, 18 Feb 2024 19:18:46 +0800 Subject: [PATCH] fix: replace the SIGnal --- scripts/lib/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/util.sh b/scripts/lib/util.sh index 76503e944..1bdb7f640 100755 --- a/scripts/lib/util.sh +++ b/scripts/lib/util.sh @@ -561,7 +561,7 @@ openim::util::stop_services_with_name() { # If there's a Process ID, it means the service with the name is running. if [[ -n $pid ]]; then # Try to stop the service by killing its process. - if kill -10 $pid 2>/dev/null; then + if kill -15 $pid 2>/dev/null; then stopped_this_time=true fi fi