From 296057e1b23b52d6a34d2fb8aa82f8cf1bffce04 Mon Sep 17 00:00:00 2001 From: A Holt Date: Sun, 22 Jul 2018 10:42:20 -0400 Subject: [PATCH] Revert "Comment out "mongod --repair" as interim workaround to #942 [MongoDB/Sugarizer]" --- roles/mongodb/templates/mongodb.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mongodb/templates/mongodb.service.j2 b/roles/mongodb/templates/mongodb.service.j2 index 2ebeb5a75..4407efddc 100644 --- a/roles/mongodb/templates/mongodb.service.j2 +++ b/roles/mongodb/templates/mongodb.service.j2 @@ -6,7 +6,7 @@ After=syslog.target network.target Type=simple User=mongodb Group=mongodb -#ExecStartPre=/usr/bin/mongod --repair --dbpath {{ mongodb_db_path }} +ExecStartPre=/usr/bin/mongod --repair --dbpath {{ mongodb_db_path }} ExecStart=/usr/bin/mongod -f {{ mongodb_conf }} ExecStop=/usr/bin/killall mongod