mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +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}')
|
local pid=$(echo $line | awk '{print $2}')
|
||||||
|
|
||||||
# Try to stop the service by killing its process.
|
# Try to stop the service by killing its process.
|
||||||
if kill -10 $pid; then
|
if kill -15 $pid; then
|
||||||
stopped+=($port)
|
stopped+=($port)
|
||||||
else
|
else
|
||||||
not_stopped+=($port)
|
not_stopped+=($port)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user