summaryrefslogtreecommitdiff
path: root/start
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-08-05 14:24:02 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-08-05 14:24:02 +0200
commit4ba4b79cfd0bb4a8236bb7b7abb300f365be4c96 (patch)
treebe150e9f5eab021dfecc373c55de617344201c2b /start
parente9a0eef898a7f24b8da3020746d49602b4f71fcc (diff)
Fix output
Diffstat (limited to 'start')
-rwxr-xr-xstart6
1 files changed, 3 insertions, 3 deletions
diff --git a/start b/start
index bf93959..d484e28 100755
--- a/start
+++ b/start
@@ -1,10 +1,10 @@
#!/bin/sh
-pg_ctl start -D ~/projects/rag/data/postgres -l ~/projects/rag/data/postgres/server.log
+pg_ctl start -D ~/projects/rag/data/postgres -l ~/projects/rag/data/postgres/server.log >/dev/null 2>&1
pidof qdrant 1>/dev/null && echo "qdrant already running..." || (
cd ~/projects/rag/data/qdrant
- qdrant &
+ qdrant >/dev/null 2>&1 &
)
-pidof ollama 1>/dev/null && echo "ollama already running..." || ollama serve &
+pidof ollama 1>/dev/null && echo "ollama already running..." || ollama serve >/dev/null 2>&1 &
exit 0