fix alivechecker
This commit is contained in:
parent
c3b3dc9ea8
commit
9b8cf7eb57
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ while true; do
|
|||
|
||||
# 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
|
||||
if [ "$(env printf '\xFE' | nc -w 15 0.0.0.0 42069 | wc -m)" -eq 0 ]; then
|
||||
pkill -9 java
|
||||
echo $(date) >> ~/kill.log
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue