Update mw.tpl

pull/632/head
Mr Chen 6 months ago
parent 590a246fc0
commit c560d3fced
  1. 4
      scripts/init.d/mw.tpl

@ -130,8 +130,8 @@ mw_stop_panel()
rm -f $pidfile rm -f $pidfile
fi fi
arr=`ps aux|grep 'gunicorn -c setting.py app:app'|grep -v grep|awk '{print $2}'` ARR=`ps aux|grep 'gunicorn -c setting.py app:app'|grep -v grep|awk '{print $2}'`
for p in ${arr[@]} for p in ${ARR[@]}
do do
kill -9 $p > /dev/null 2>&1 kill -9 $p > /dev/null 2>&1
done done

Loading…
Cancel
Save