mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 21:02:11 +08:00
Script Refactoring
This commit is contained in:
parent
c868db2bbc
commit
8a05e19eef
@ -2837,7 +2837,7 @@ check_binary_ports() {
|
|||||||
|
|
||||||
# Check if the binary is running
|
# Check if the binary is running
|
||||||
if pgrep -f "$binary_path" > /dev/null; then
|
if pgrep -f "$binary_path" > /dev/null; then
|
||||||
echo "$binary_name is running."
|
echo "$binary_name is running." "arg $1"
|
||||||
|
|
||||||
# Find the PID(s) of the running binary
|
# Find the PID(s) of the running binary
|
||||||
pids=$(pgrep -f "$binary_path")
|
pids=$(pgrep -f "$binary_path")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user