mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-02 18:34:29 +08:00
fix: replace the SIGnal
This commit is contained in:
parent
9f0d782072
commit
80c851c71d
@ -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 there's a Process ID, it means the service with the name is running.
|
||||||
if [[ -n $pid ]]; then
|
if [[ -n $pid ]]; then
|
||||||
# Try to stop the service by killing its process.
|
# 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
|
stopped_this_time=true
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user