mirror of
https://github.com/kaboomserver/framework.git
synced 2025-01-07 23:19:13 +00:00
Minor adjustment to alive checker
This commit is contained in:
parent
91705dafb8
commit
2c3795f30e
1 changed files with 0 additions and 1 deletions
|
@ -13,7 +13,6 @@ while true; do
|
||||||
|
|
||||||
if [ "$(env printf '\xFE' | nc -w 15 play.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
|
pkill -9 java
|
||||||
kill -9 $(ps -C ssh -o pid=)
|
|
||||||
echo $(date) >> ~/kill.log
|
echo $(date) >> ~/kill.log
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue