aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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