mirror of
https://github.com/kaboomserver/framework.git
synced 2024-11-30 19:06:49 -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
|
while true; do
|
||||||
sleep 420
|
sleep 420
|
||||||
|
|
||||||
# If server doesn't respond to ping, or if the log file is older than
|
# If the server doesn't respond to ping, kill it
|
||||||
# 3 minutes, kill the server
|
|
||||||
|
|
||||||
if [ "$(env printf '\xFE' | nc -w 15 0.0.0.0 25565 | wc -m)" -eq 0 ]; then
|
if [ "$(env printf '\xFE' | nc -w 15 0.0.0.0 25565 | wc -m)" -eq 0 ]; then
|
||||||
pkill -9 java
|
pkill -9 java
|
||||||
|
|
Loading…
Reference in a new issue