Migrated MongoDB to version 4 to support RPI's and lower end processors.

This commit is contained in:
Karmaa
2025-03-16 19:29:34 -05:00
parent 10bc491a9f
commit c910ecced8
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ mongod --fork --dbpath $MONGODB_DATA_DIR --logpath $MONGODB_LOG_DIR/mongodb.log
# Wait for MongoDB to be ready
echo "Waiting for MongoDB to start..."
until mongosh --eval "print(\"waited for connection\")" > /dev/null 2>&1; do
until mongo --eval "print(\"waited for connection\")" > /dev/null 2>&1; do
sleep 0.5
done
echo "MongoDB has started"