mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 12:59:23 +08:00
0f6be5f022
2 new scripts dir 3 update Readme Former-commit-id: 0b0c4ca55fc05e459c3e2ed7e8c9c83b3752cbd3
17 lines
258 B
Bash
Executable File
17 lines
258 B
Bash
Executable File
#!/bin/bash
|
|
|
|
function kill_progress()
|
|
{
|
|
kill -s SIGUSR2 $(pgrep $1)
|
|
|
|
sleep 2
|
|
}
|
|
|
|
STATUS=$(kill_progress "vecwise_server" )
|
|
|
|
if [[ ${STATUS} == "false" ]];then
|
|
echo "vecwise_server closed abnormally!"
|
|
else
|
|
echo "vecwise_server closed successfully!"
|
|
fi
|