Commit 7d64e196362706c6ff2c25698c5d76cfb11b51e0

Authored by VoBa
Committed by GitHub
2 parents ea63f72e 297c58f8

Merge pull request #299 from abdusahin/patch-1

Added filtered state to cassandra service check.
Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -19,7 +19,7 @@
19 19 dpkg -i /thingsboard.deb
20 20
21 21 if [ "$DATABASE_TYPE" == "cassandra" ]; then
22   - until nmap $CASSANDRA_HOST -p $CASSANDRA_PORT | grep "$CASSANDRA_PORT/tcp open"
  22 + until nmap $CASSANDRA_HOST -p $CASSANDRA_PORT | grep "$CASSANDRA_PORT/tcp open\|filtered"
23 23 do
24 24 echo "Wait for cassandra db to start..."
25 25 sleep 10
... ...