diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-08-05 14:24:02 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-08-05 14:24:02 +0200 |
commit | 4ba4b79cfd0bb4a8236bb7b7abb300f365be4c96 (patch) | |
tree | be150e9f5eab021dfecc373c55de617344201c2b /start | |
parent | e9a0eef898a7f24b8da3020746d49602b4f71fcc (diff) |
Fix output
Diffstat (limited to 'start')
-rwxr-xr-x | start | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |