From 1bc805c1462c8f6bb526d1d442ece3c073193e6e Mon Sep 17 00:00:00 2001 From: ngfchl Date: Fri, 14 Oct 2022 22:43:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=90=AF=E5=8A=A8=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=EF=BC=8C=E5=8A=A0=E5=85=A5=E6=9B=B4=E5=A4=9AU2?= =?UTF-8?q?=E7=9A=84HOSTS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/start.sh b/start.sh index baad3b8..8c3e1aa 100644 --- a/start.sh +++ b/start.sh @@ -35,5 +35,18 @@ else fi echo "写入U2 hosts" echo 172.64.153.252 u2.dmhy.org >>/etc/hosts +echo 104.25.26.31 u2.dmhy.org >>/etc/hosts +echo 104.25.61.106 u2.dmhy.org >>/etc/hosts +echo 104.25.62.106 u2.dmhy.org >>/etc/hosts +echo 172.67.98.15 u2.dmhy.org >>/etc/hosts +echo 104.25.26.31 tracker.dmhy.org >>/etc/hosts +echo 104.25.61.106 tracker.dmhy.org >>/etc/hosts +echo 104.25.62.106 tracker.dmhy.org >>/etc/hosts +echo 172.67.98.15 tracker.dmhy.org >>/etc/hosts +echo 104.25.26.31 share.dmhy.org >>/etc/hosts +echo 104.25.61.106 share.dmhy.org >>/etc/hosts +echo 104.25.62.106 share.dmhy.org >>/etc/hosts +echo 172.67.98.15 share.dmhy.org >>/etc/hosts echo "启动服务" +python manage.py migrate python manage.py runserver 0.0.0.0:$DJANGO_WEB_PORT