mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-03-28 03:29:25 +01: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
|
||||
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
|
||||
Loading…
Reference in New Issue
Block a user