mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-06-16 16:31:20 +00:00
More debug stuff
This commit is contained in:
parent
6e37df53d3
commit
27dd9b1810
|
@ -32,8 +32,7 @@ done'
|
|||
|
||||
#sleep 90
|
||||
|
||||
tmux new -d -s alivecheck 'while true; do
|
||||
set -x
|
||||
tmux new -d -s alivecheck 'set -x; while true; do
|
||||
sleep 1
|
||||
if [ "$(env printf \"\xFE\" | nc -w 5 localhost 25565 | wc -m)" -eq 1 ] ||
|
||||
[ "$(( $(date +%s) - $(tail -1 $HOME/logs/latest.log | grep -oP \"(?<=\[).*?(?=\])\" || date +%T | head -1 | date -f - +%s) ))" -gt 180 ]; then
|
||||
|
|
Loading…
Reference in a new issue