12345678910111213141516171819202122232425262728 |
- #!/bin/bash
- cd `dirname $0`/../target
- target_dir=`pwd`
- pid=`pgrep -f nacos.nacos`
- if [ -z "$pid" ] ; then
- echo "No nacosServer running."
- exit -1;
- fi
- echo "The nacosServer(${pid}) is running..."
- kill ${pid}
- echo "Send shutdown request to nacosServer(${pid}) OK"
|