run only runner in background

This commit is contained in:
dany 2022-09-16 21:36:59 +02:00
parent d0ab04d189
commit b0e8a4f565

View File

@ -20,7 +20,4 @@ unset ANTOS_PASSWORD
[ ! -f "/app/antd-config.ini" ] && cp /opt/www/antd-config.ini /app/antd-config.ini [ ! -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 [ ! -f "/app/runner.ini" ] && cp /opt/www/runner.ini /app/runner.ini
/usr/bin/antd /app/antd-config.ini & /usr/bin/antd /app/antd-config.ini | ( sleep 2 && /opt/www/bin/runner /app/runner.ini &)
sleep 2
[ -f /app/runner.ini ] && /opt/www/bin/runner /app/runner.ini &
wait