Commit e5faebb8 by Chavee Issariyapat

update vernemq.sh to remove prefix space from pid variable

parent b3b85757
......@@ -143,7 +143,7 @@ cp -Rf /etc/vernemq/* /vernemq/etc
/usr/sbin/setapikey.sh &
/vernemq/bin/vernemq start
pid=$(ps aux | grep '[b]eam.smp' | awk '{print $1}')
pid=$((pid+0))
pid=$(echo $pid | sed 's/[^0-9]*//g')
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