From d2e9d5bb980b8717f77902e513209eb37e65fb8d Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Fri, 15 Mar 2024 17:26:25 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=88=86=E5=BC=80=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- installer/init.sql | 2 +- installer/run-maxkb.sh | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/installer/init.sql b/installer/init.sql index 3f058f576..dfc30f9d7 100644 --- a/installer/init.sql +++ b/installer/init.sql @@ -2,4 +2,4 @@ CREATE DATABASE "maxkb"; \c "maxkb"; -CREATE EXTENSION "vector" VERSION '0.6.1'; \ No newline at end of file +CREATE EXTENSION "vector"; \ No newline at end of file diff --git a/installer/run-maxkb.sh b/installer/run-maxkb.sh index 4f388f695..f55f563f8 100644 --- a/installer/run-maxkb.sh +++ b/installer/run-maxkb.sh @@ -7,10 +7,4 @@ docker-entrypoint.sh postgres & until pg_isready --host=127.0.0.1; do sleep 1 && echo "waiting for postgres"; done # Start MaxKB -python /opt/maxkb/app/main.py start & - -# Wait for any process to exit -wait -n - -# Exit with status of process that exited first -exit $? \ No newline at end of file +python /opt/maxkb/app/main.py start \ No newline at end of file