修复:自定义HOSTS文件不生效

This commit is contained in:
ngfchl
2023-02-03 21:51:52 +08:00
parent 25cc93a775
commit 7eb650de71

View File

@@ -42,7 +42,7 @@ if [ ! -f db/hosts ]; then
echo 172.67.98.15 u2.dmhy.org >>/etc/hosts
else
echo '存在自定义HOSTS文件apply'
mv db/hosts /etc/hosts
cp -f db/hosts /etc/hosts
fi
echo "启动服务"
python manage.py migrate