summaryrefslogtreecommitdiff
path: root/shutdown
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 /shutdown
parente9a0eef898a7f24b8da3020746d49602b4f71fcc (diff)
Fix output
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