Show IP address that caused auto-pause to resume (#1709)

Also
* Refactored auto files, server.properties, and rcon-cmds
This commit is contained in:
Geoff Bourne
2022-09-03 16:48:14 -05:00
committed by GitHub
parent 417a65a3af
commit 0e0bb09533
14 changed files with 39 additions and 38 deletions

View File

@@ -24,7 +24,7 @@ log "Autopause functionality enabled"
isDebugging && set -x
cp /autopause/knockd-config.cfg /tmp/knockd-config.cfg
cp /auto/knockd-config.cfg /tmp/knockd-config.cfg
# update server port to listen to
regseq="^\s*sequence\s*=\s*$SERVER_PORT\s*$"
@@ -84,4 +84,4 @@ elif [[ -z "$MAX_TICK_TIME" ]] ; then
export MAX_TICK_TIME
fi
/autopause/autopause-daemon.sh &
/auto/autopause-daemon.sh &