Commit 4b7b5150 by Chavee Issariyapat

fix pid problem in vernemq.sh

parent e2766e6b
......@@ -142,7 +142,7 @@ cp -Rf /etc/vernemq/* /vernemq/etc
/usr/sbin/setapikey.sh &
/vernemq/bin/vernemq start
pid=$(ps aux | grep '[b]eam.smp' | awk '{print $2}')
pid=$(ps aux | grep '[b]eam.smp' | awk '{print $1}')
touch /var/log/vernemq/console.log
......
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