Increase limit to 2 mins

This commit is contained in:
mathias 2018-10-02 01:02:51 +03:00
parent 9a1cecca3e
commit 74de4e830d

View file

@ -28,7 +28,7 @@ done &
done'
while true; do
sleep 60
sleep 120
if [ "$(echo -n -e '\xFE' | nc -w 1 localhost 25565 | wc -m)" -eq 0 ]; then
kill -9 $(pgrep java)
fi