aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-11 19:47:57 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-11 19:47:57 +0200
commitffb2ff33b5ccf9f4391975ef770097753ebbfe53 (patch)
tree6a9970441059e49edf3974c3b36125d8d4178d25
parent3c7a787833704fb8ff1d8caaf14bd136cbb58956 (diff)
update fcgi scripts
-rwxr-xr-xautoplanner.fcgi3
-rwxr-xr-xstoringen.fcgi3
2 files changed, 4 insertions, 2 deletions
diff --git a/autoplanner.fcgi b/autoplanner.fcgi
index 4fae48d..9f5563b 100755
--- a/autoplanner.fcgi
+++ b/autoplanner.fcgi
@@ -1,3 +1,4 @@
#!/bin/sh
+cd "$(dirname "$(readlink -f "$0")")"
echo "HTTP/1.1 200 OK\n"
-exec ./autoplanner.py
+exec ./venv/bin/python3 ./autoplanner.py
diff --git a/storingen.fcgi b/storingen.fcgi
index 53db208..8ad322b 100755
--- a/storingen.fcgi
+++ b/storingen.fcgi
@@ -1,3 +1,4 @@
#!/bin/sh
+cd "$(dirname "$(readlink -f "$0")")"
echo "HTTP/1.1 200 OK\n"
-exec ./storingen.py
+exec ./venv/bin/python3 ./storingen.py