Update 'start.sh'

This commit is contained in:
dany 2022-09-19 18:47:14 +02:00
parent b0e8a4f565
commit e12a4b5e5e

View File

@ -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 &)
# /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