mirror of
https://github.com/kaboomserver/framework.git
synced 2024-11-28 10:05:39 -05:00
Update outdated comment in alivecheck.sh
This commit is contained in:
parent
c610e66aea
commit
98aaae55ed
1 changed files with 1 additions and 2 deletions
|
@ -8,8 +8,7 @@ set -x
|
|||
while true; do
|
||||
sleep 420
|
||||
|
||||
# If server doesn't respond to ping, or if the log file is older than
|
||||
# 3 minutes, kill the server
|
||||
# If the server doesn't respond to ping, kill it
|
||||
|
||||
if [ "$(env printf '\xFE' | nc -w 15 0.0.0.0 25565 | wc -m)" -eq 0 ]; then
|
||||
pkill -9 java
|
||||
|
|
Loading…
Reference in a new issue