diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-11 19:47:57 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-11 19:47:57 +0200 |
commit | ffb2ff33b5ccf9f4391975ef770097753ebbfe53 (patch) | |
tree | 6a9970441059e49edf3974c3b36125d8d4178d25 | |
parent | 3c7a787833704fb8ff1d8caaf14bd136cbb58956 (diff) |
update fcgi scripts
-rwxr-xr-x | autoplanner.fcgi | 3 | ||||
-rwxr-xr-x | storingen.fcgi | 3 |
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 |