From 03d6404e57f706f43496b6a71622bc50393311d0 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 4 Jul 2022 19:20:59 +0800 Subject: [PATCH] Update freebsd.sh --- scripts/install/freebsd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install/freebsd.sh b/scripts/install/freebsd.sh index 1326bb641..4d0efb5e8 100644 --- a/scripts/install/freebsd.sh +++ b/scripts/install/freebsd.sh @@ -8,6 +8,7 @@ pkg install -y python3 python3 -m ensurepip pip3 install --upgrade setuptools pkg install -y lsof +pkg install -y mysql-devel pkg autoremove -y @@ -65,7 +66,7 @@ cd /www/server/mdserver-web/scripts && bash lib.sh chmod 755 /www/server/mdserver-web/data -cd /www/server/mdserver-web && ./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}'` n=0 while [[ ! -f /etc/init.d/mw ]];