fix: defaulted SERVER_PORT for health and autopause

#1120
This commit is contained in:
Geoff Bourne committed 2021-11-13 18:42:24 -06:00
1 parent a8a60264e9
commit df7d6c298a
2 files changed
+10 -4

No files matched your search

+7 -1
View File
@@ -1,9 +1,15 @@
#!/bin/bash
. ${SCRIPTS:-/}start-utils
# shellcheck source=start-utils
. "${SCRIPTS:-/}start-utils"
: "${SERVER_PORT:=25565}"
export SERVER_PORT
log "Autopause functionality enabled"
isDebugging && set -x
cp /autopause/knockd-config.cfg /tmp/knockd-config.cfg
# update server port to listen to