mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
add probe
This commit is contained in:
12
scripts/probe.sh
Normal file
12
scripts/probe.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
IP=127.0.0.1
|
||||
PORT=9000
|
||||
|
||||
while true; do
|
||||
nc -zv ${IP} ${PORT}
|
||||
if [[ "$?" == "0" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
sleep 2
|
||||
done
|
||||
Reference in New Issue
Block a user