From 34c5c3b3e1354040feb502d8629ec6eadeb0e14a Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 29 May 2026 22:05:44 -0400 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 0092099..65a3f3d 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,7 +11,7 @@ fi if [ -f /data/db/mongod.lock ] || [ -f /data/db/WiredTiger.lock ] || [ -f /data/db/.lock ]; then echo "Stale locks detected, running repair..." rm -f /data/db/mongod.lock /data/db/.lock /data/db/WiredTiger.lock - mongod --replSet rs0 --repair + mongod --repair echo "Repair complete, starting normally..." fi