run only runner in background
This commit is contained in:
parent
d0ab04d189
commit
b0e8a4f565
5
start.sh
5
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/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
|
|
Loading…
Reference in New Issue
Block a user