thomwolf HF staff commited on
Commit
bf0bd2d
·
1 Parent(s): be0c1f1
Files changed (1) hide show
  1. start.sh +0 -1
start.sh CHANGED
@@ -29,7 +29,6 @@ echo "MongoDB started successfully"
29
 
30
  # Initialize replica set
31
  echo "Initializing replica set..."
32
- mongosh --eval 'rs.status()' --quiet
33
  if ! mongosh --eval 'rs.status()' --quiet | grep -q 'ok: 1'; then
34
  echo "Initializing replica set..."
35
  mongosh --eval 'rs.initiate({_id: "rs01", members: [{_id: 0, host: "localhost:27017"}]})' || {
 
29
 
30
  # Initialize replica set
31
  echo "Initializing replica set..."
 
32
  if ! mongosh --eval 'rs.status()' --quiet | grep -q 'ok: 1'; then
33
  echo "Initializing replica set..."
34
  mongosh --eval 'rs.initiate({_id: "rs01", members: [{_id: 0, host: "localhost:27017"}]})' || {