mirror of
https://github.com/nihilvux/bancho.py.git
synced 2025-09-16 18:48:38 -07:00
Add files via upload
This commit is contained in:
10
scripts/start_server.sh
Normal file
10
scripts/start_server.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
# Checking MySQL TCP connection
|
||||
scripts/wait-for-it.sh --timeout=60 $DB_HOST:$DB_PORT
|
||||
|
||||
# Checking Redis connection
|
||||
scripts/wait-for-it.sh --timeout=60 $REDIS_HOST:$REDIS_PORT
|
||||
|
||||
python main.py
|
Reference in New Issue
Block a user