From 7547fcbadf864c64a0bebc740185b2df1ead7e4b Mon Sep 17 00:00:00 2001 From: Christian Iversen Date: Thu, 25 May 2023 21:00:26 +0200 Subject: [PATCH] Allow run.sh to pass extra arguments to ankerctl.py, and exec into it, to avoid a /bin/sh instance. --- ankerctl/data/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankerctl/data/run.sh b/ankerctl/data/run.sh index 3911215..e16f5e5 100644 --- a/ankerctl/data/run.sh +++ b/ankerctl/data/run.sh @@ -4,4 +4,4 @@ CONFIG_PATH=/data/options.json export FLASK_HOST="$(jq --raw-output '.flask_host // empty' $CONFIG_PATH)" -/app/ankerctl.py webserver run +exec /app/ankerctl.py webserver run "${@}"