From: Christian Heller <c.heller@plomlompom.de>
Date: Mon, 10 Feb 2025 16:03:29 +0000 (+0100)
Subject: Minor fixes to startup script template.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/process_titles?a=commitdiff_plain;p=plomlib

Minor fixes to startup script template.
---

diff --git a/sh/run b/sh/run
index a39612f..fc89619 100644
--- a/sh/run
+++ b/sh/run
@@ -16,4 +16,5 @@ if [ "$1" = "install_deps" ]; then
 fi
 
 export PYTHONPATH="${PATH_APP_SHARE}:${PYTHONPATH}"
-python3 "${PATH_APP_SHARE}/run.py" $@
+cd "${PATH_APP_SHARE}"
+./run.py $@