Update freebsd.sh

pull/445/head
midoks 2 years ago
parent 730bc7171b
commit e02c52df49
  1. 2
      scripts/update/freebsd.sh

@ -14,7 +14,7 @@ fi
echo -e "start mw" echo -e "start mw"
cd /www/server/mdserver-web && bash cli.sh start cd /www/server/mdserver-web && bash cli.sh start
isStart=`ps -ef|grep 'gunicorn -c setting.py app:app' |grep -v grep|awk '{print $2}'` isStart=`ps -aux|grep 'gunicorn -c setting.py app:app' |grep -v grep|awk '{print $2}'`
n=0 n=0
while [[ ! -f /etc/rc.d/init.d/mw ]]; while [[ ! -f /etc/rc.d/init.d/mw ]];
do do

Loading…
Cancel
Save