summaryrefslogtreecommitdiff
path: root/shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'shutdown')
-rwxr-xr-xshutdown5
1 files changed, 3 insertions, 2 deletions
diff --git a/shutdown b/shutdown
index 613b645..2702073 100755
--- a/shutdown
+++ b/shutdown
@@ -1,4 +1,5 @@
#!/bin/sh
-pidof ollama | xargs -r kill
-pidof qdrant | xargs -r kill
+pg_ctl stop -D ~/projects/rag/data/postgres >/dev/null 2>&1 &&
+ pidof ollama | xargs -r kill &&
+ pidof qdrant | xargs -r kill