mirror of https://github.com/milvus-io/milvus.git
Improve the `stop` command (#19981)
Signed-off-by: SimFG <bang.fu@zilliz.com> Signed-off-by: SimFG <bang.fu@zilliz.com>pull/19976/head
parent
05bbb12d30
commit
1b7968557c
|
@ -15,6 +15,7 @@
|
|||
# limitations under the License.
|
||||
|
||||
echo "Stopping milvus..."
|
||||
kill -9 $(ps -e | grep milvus | awk '{print $1}')
|
||||
PROCESS=$(ps -e | grep milvus | grep -v grep | awk '{print $1}')
|
||||
kill -9 $PROCESS
|
||||
echo "Milvus stopped"
|
||||
|
||||
|
|
Loading…
Reference in New Issue