home · contact · privacy
Minor fixes to startup script template. master
authorChristian Heller <c.heller@plomlompom.de>
Mon, 10 Feb 2025 16:03:29 +0000 (17:03 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 10 Feb 2025 16:03:29 +0000 (17:03 +0100)
sh/run

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