Update install.sh

pull/382/head
midoks 2 years ago
parent 811fa4a40d
commit 31d665d962
  1. 5
      scripts/install.sh

@ -108,6 +108,11 @@ fi
echo "use system version: ${OSNAME}" echo "use system version: ${OSNAME}"
cd /www/server/mdserver-web && bash scripts/install/${OSNAME}.sh cd /www/server/mdserver-web && bash scripts/install/${OSNAME}.sh
if [ "${OSNAME}" == "macos" ];then
echo "macos end"
exit 0
fi
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 -ef|grep 'gunicorn -c setting.py app:app' |grep -v grep|awk '{print $2}'`
n=0 n=0

Loading…
Cancel
Save