From b0e8a4f5657b6003f02e7e2408c150ada71cd638 Mon Sep 17 00:00:00 2001 From: dany Date: Fri, 16 Sep 2022 21:36:59 +0200 Subject: [PATCH] run only runner in background --- start.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/start.sh b/start.sh index 63182c5..16153c4 100755 --- a/start.sh +++ b/start.sh @@ -20,7 +20,4 @@ unset ANTOS_PASSWORD [ ! -f "/app/antd-config.ini" ] && cp /opt/www/antd-config.ini /app/antd-config.ini [ ! -f "/app/runner.ini" ] && cp /opt/www/runner.ini /app/runner.ini -/usr/bin/antd /app/antd-config.ini & -sleep 2 -[ -f /app/runner.ini ] && /opt/www/bin/runner /app/runner.ini & -wait \ No newline at end of file +/usr/bin/antd /app/antd-config.ini | ( sleep 2 && /opt/www/bin/runner /app/runner.ini &) \ No newline at end of file