From b35b612c5281fad1e464fb9682e2e061aa368d1a Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 17 Jul 2018 13:15:04 -0400 Subject: [PATCH] Update mongodb.service.j2 --- 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 1cfc98b05..4407efddc 100644 --- a/roles/mongodb/templates/mongodb.service.j2 +++ b/roles/mongodb/templates/mongodb.service.j2 @@ -7,7 +7,7 @@ Type=simple User=mongodb Group=mongodb ExecStartPre=/usr/bin/mongod --repair --dbpath {{ mongodb_db_path }} -ExecStart=/usr/bin/mongod -f /etc/mongod.conf +ExecStart=/usr/bin/mongod -f {{ mongodb_conf }} ExecStop=/usr/bin/killall mongod [Install]