Commit e2766e6b by Chavee Issariyapat

fix pid problem in vernemq.sh

parent 3364937a
......@@ -121,7 +121,7 @@ siguser1_handler() {
# SIGTERM-handler
sigterm_handler() {
echo "Stopping VerneMQ Pod..."
echo "Stopping VerneMQ Pod... VerneMQ@${IP_ADDRESS} "
if [ $pid -ne 0 ]; then
echo "Leaving cluster..."
# this will stop the VerneMQ process
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment