From 547520c23ca8fa21cb856ce7a45463cfcee457fc Mon Sep 17 00:00:00 2001 From: hjdhnx Date: Wed, 31 Aug 2022 09:15:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=91=BD=E4=BB=A4=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.sh | 2 ++ commands.txt | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 app.sh diff --git a/app.sh b/app.sh new file mode 100644 index 0000000..720f024 --- /dev/null +++ b/app.sh @@ -0,0 +1,2 @@ +kill -9 $(cat supervisord.pid) # ζ€ζŽ‰θΏ›η¨‹ +supervisord -c manager.conf \ No newline at end of file diff --git a/commands.txt b/commands.txt index 5f7e74d..d20de45 100644 --- a/commands.txt +++ b/commands.txt @@ -1,7 +1,8 @@ +. <(cat app.sh) +# supervisord -c manager.conf flask db init flask db migrate flask db upgrade -supervisord -c manager.conf pip install -i https://mirrors.cloud.tencent.com/pypi/simple --upgrade pip pip config set global.index-url https://mirrors.cloud.tencent.com/pypi/simple -- GitLab