diff --git a/files/auto/autopause-daemon.sh b/files/auto/autopause-daemon.sh index e10bf184ecb..3834b2e6d6e 100644 --- a/files/auto/autopause-daemon.sh +++ b/files/auto/autopause-daemon.sh @@ -124,11 +124,7 @@ do STATE=E else TIME_THRESH=$(($(current_uptime)+$AUTOPAUSE_TIMEOUT_KN)) - from=unknown - if [ -e /var/log/knocked-source ]; then - from=$(cat /var/log/knocked-source) - fi - logAutopause "Server was knocked from $from - waiting for clients or timeout" + logAutopause "Server was knocked - waiting for clients or timeout" STATE=K fi fi diff --git a/files/auto/resume.sh b/files/auto/resume.sh index 19a4fa62181..203ded7e27f 100644 --- a/files/auto/resume.sh +++ b/files/auto/resume.sh @@ -6,8 +6,6 @@ if isTrue "${DEBUG_AUTOPAUSE}"; then fi if [[ $( ps -ax -o stat,comm | grep 'java' | awk '{ print $1 }') =~ ^T.*$ ]] ; then - logAutopauseAction "Knocked from $1, resuming Java process" - echo "$1" > /var/log/knocked-source pkill -CONT java # remove .paused file from data directory