From 7eb650de71a7f6f67327635306ec05c7a4f6e869 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Fri, 3 Feb 2023 21:51:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89HOSTS=E6=96=87=E4=BB=B6=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 6ae00f9..237b016 100644 --- a/start.sh +++ b/start.sh @@ -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