From 762d2d7152797057b3bdcf444ef11fdb945c0219 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 7 Dec 2017 15:58:39 +0100 Subject: [PATCH] mongodb: fix log/lock files paths for Jessie --- mongodb/templates/mongod_jessie.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mongodb/templates/mongod_jessie.conf.j2 b/mongodb/templates/mongod_jessie.conf.j2 index 612819b6..bebb88d5 100644 --- a/mongodb/templates/mongod_jessie.conf.j2 +++ b/mongodb/templates/mongod_jessie.conf.j2 @@ -17,7 +17,7 @@ systemLog: destination: file logRotate: reopen logAppend: true - path: {{ mongodb_logfile_path }} + path: /var/log/mongodb/mongod.log # network interfaces net: @@ -25,7 +25,7 @@ net: bindIp: {{ mongodb_bind }} processManagement: - pidFilePath: {{ mongodb_pidfile_path }} + pidFilePath: /var/lib/mongodb/mongod.lock #security: