milvus/cpp/scripts/stop_server.sh
xj.lin 0f6be5f022 1 update conf files
2 new scripts dir
3 update Readme


Former-commit-id: 0b0c4ca55fc05e459c3e2ed7e8c9c83b3752cbd3
2019-05-11 12:04:47 +08:00

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