Update mw.tpl

pull/883/head
dami 1 month ago
parent c2f81e182a
commit e244d477e2
  1. 2
      scripts/init.d/mw.tpl

@ -45,7 +45,7 @@ mw_start_panel()
isStart=`ps -ef|grep 'gunicorn -c setting.py app:app' |grep -v grep|awk '{print $2}'`
if [ "$isStart" == '' ];then
echo -e "starting mw-panel... \c"
cd ${PANEL_DIR}/web && gunicorn -c setting.py app:app &
cd ${PANEL_DIR}/web && gunicorn -c setting.py app:app
port=$(cat ${PANEL_DIR}/data/port.pl)
isStart=""
n=0

Loading…
Cancel
Save