From e12a4b5e5e14f498e5ca19acd2cc0ed2f73fb8c4 Mon Sep 17 00:00:00 2001 From: dany Date: Mon, 19 Sep 2022 18:47:14 +0200 Subject: [PATCH] Update 'start.sh' --- start.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 16153c4..f6a4008 100755 --- a/start.sh +++ b/start.sh @@ -20,4 +20,8 @@ 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 && /opt/www/bin/runner /app/runner.ini &) \ No newline at end of file +# /usr/bin/antd /app/antd-config.ini | ( sleep 2 && /opt/www/bin/runner /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