diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-08-05 14:15:34 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-08-05 14:15:34 +0200 |
commit | e9a0eef898a7f24b8da3020746d49602b4f71fcc (patch) | |
tree | 833081158fbc51924f237b521062901e0401d282 /start | |
parent | 4bf064f37ae164b452320bdc45cf03c53d66a5b1 (diff) |
Add start and shutdown scripts
Diffstat (limited to 'start')
-rwxr-xr-x | start | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +#!/bin/sh + +pg_ctl start -D ~/projects/rag/data/postgres -l ~/projects/rag/data/postgres/server.log + +pidof qdrant 1>/dev/null && echo "qdrant already running..." || ( + cd ~/projects/rag/data/qdrant + qdrant & +) +pidof ollama 1>/dev/null && echo "ollama already running..." || ollama serve & +exit 0 |