mirror of
https://github.com/casjaysdevdocker/wttr
synced 2025-01-18 12:34:34 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
21db828dbf
commit
f145a6bc95
@ -48,6 +48,11 @@ __exec_command() {
|
|||||||
[ "$exitCode" = 0 ] || exitCode=10
|
[ "$exitCode" = 0 ] || exitCode=10
|
||||||
return ${exitCode:-$?}
|
return ${exitCode:-$?}
|
||||||
}
|
}
|
||||||
|
__start_servers() {
|
||||||
|
python3 /app/bin/srv.py &
|
||||||
|
python3 /app/bin/proxy.py &
|
||||||
|
python3 /app/bin/geo-proxy.py
|
||||||
|
}
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Set variables
|
# Set variables
|
||||||
DISPLAY="${DISPLAY:-}"
|
DISPLAY="${DISPLAY:-}"
|
||||||
@ -77,7 +82,7 @@ CONTAINER_IP_ADDRESS="$(ip a 2>/dev/null | grep 'inet' | grep -v '127.0.0.1' | a
|
|||||||
# Overwrite variables
|
# Overwrite variables
|
||||||
#SERVICE_PORT=""
|
#SERVICE_PORT=""
|
||||||
SERVICE_NAME="wttr"
|
SERVICE_NAME="wttr"
|
||||||
SERVICE_COMMAND="$SERVICE_NAME"
|
SERVICE_COMMAND="__start_servers"
|
||||||
|
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Show start message
|
# Show start message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user