mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-02 18:34:29 +08:00
fix: fix the script
This commit is contained in:
parent
654248dc5a
commit
f6fdfee759
@ -486,7 +486,7 @@ openim::util::stop_services_on_ports() {
|
||||
local pid=$(echo $line | awk '{print $2}')
|
||||
|
||||
# Try to stop the service by killing its process.
|
||||
if kill -10 $pid; then
|
||||
if kill -15 $pid; then
|
||||
stopped+=($port)
|
||||
else
|
||||
not_stopped+=($port)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user