mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-09-29 19:53:13 +00:00
Increase limit to 2 mins
This commit is contained in:
parent
9a1cecca3e
commit
74de4e830d
|
@ -28,7 +28,7 @@ done &
|
||||||
done'
|
done'
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
sleep 60
|
sleep 120
|
||||||
if [ "$(echo -n -e '\xFE' | nc -w 1 localhost 25565 | wc -m)" -eq 0 ]; then
|
if [ "$(echo -n -e '\xFE' | nc -w 1 localhost 25565 | wc -m)" -eq 0 ]; then
|
||||||
kill -9 $(pgrep java)
|
kill -9 $(pgrep java)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue