mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-18 14:34:55 +00:00
Show IP address that caused auto-pause to resume (#1709)
Also * Refactored auto files, server.properties, and rcon-cmds
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
. /start-utils
|
||||
if isTrue "${DEBUG_AUTOSTOP}"; then
|
||||
set -x
|
||||
fi
|
||||
|
||||
logAutostopAction "Stopping Java process"
|
||||
if isTrue "${AUTOSTOP_PKILL_USE_SUDO:-false}"; then
|
||||
sudo pkill -f --signal SIGTERM mc-server-runner
|
||||
else
|
||||
pkill -f --signal SIGTERM mc-server-runner
|
||||
fi
|
||||
Reference in New Issue
Block a user