mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-04-02 23:09:26 +02:00
fix: add DNS delay to allow dhcpcd resolution on Debian (#557)
This commit is contained in:
parent
5c92c89813
commit
1f2aba5a3e
|
|
@ -21,4 +21,7 @@ node ace queue:work --all &
|
||||||
|
|
||||||
# Start the AdonisJS application
|
# Start the AdonisJS application
|
||||||
echo "Starting AdonisJS application..."
|
echo "Starting AdonisJS application..."
|
||||||
|
# Wait for DNS resolution (Debian dhcpcd race condition)
|
||||||
|
until ping -c1 8.8.8.8 >/dev/null 2>&1 || ping -c1 google.com >/dev/null 2>&1 || [ $SECONDS -gt 10 ]; do sleep 1; done
|
||||||
|
|
||||||
exec node bin/server.js
|
exec node bin/server.js
|
||||||
Loading…
Reference in New Issue
Block a user