Update 'start.sh'

This commit is contained in:
dany 2022-09-19 18:51:44 +02:00
parent e12a4b5e5e
commit 3ebf6829b7

View File

@ -20,8 +20,9 @@ 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 | ( sleep 2 && /opt/www/bin/runner /app/runner.ini &) /usr/bin/antd /app/antd-config.ini >/dev/null 2>&1 | \
/usr/bin/antd /app/antd-config.ini & ( sleep 2 && /opt/www/bin/runner /app/runner.ini >/dev/null 2>&1 &)
sleep 2 #/usr/bin/antd /app/antd-config.ini &
[ -f /app/runner.ini ] && /opt/www/bin/runner /app/runner.ini & #sleep 2
wait #[ -f /app/runner.ini ] && /opt/www/bin/runner /app/runner.ini &
#wait