new.kaboom.pw -> play.kaboom.pw

This commit is contained in:
mathiascode 2020-04-18 20:26:49 +03:00
parent 2c46ed6a5b
commit 6bae4b300c

View file

@ -11,7 +11,7 @@ while true; do
# If server doesn't respond to ping, or if the log file is older than
# 3 minutes, kill the server
if [ "$(env printf '\xFE' | nc -w 15 new.kaboom.pw 25565 | wc -m)" -eq 0 ]; then
if [ "$(env printf '\xFE' | nc -w 15 play.kaboom.pw 25565 | wc -m)" -eq 0 ]; then
pkill -9 java
kill -9 $(ps -C ssh -o pid=)
echo $(date) >> ~/kill.log