Skip to content

Commit f3e41aa

Browse files
committed
Merge pull request voxpupuli#278 from fatmcgav/fix_MODULES-3154
(MODULES-3154) Fix MongoDB 2.6 config format of pidFilePath
2 parents cffc601 + bd23b58 commit f3e41aa

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

templates/mongodb.conf.2.6.erb

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@ systemLog.verbosity: 5
2929
<% end -%>
3030

3131
#Process Management
32-
<% if @fork -%>
33-
processManagement.fork: <%= @fork %>
34-
<% end -%>
35-
<% if @pidfilepath -%>
36-
processManagement.pidFilePath: <%= @pidfilepath %>
32+
<% if @fork or @pidfilepath -%>
33+
processManagement:
34+
<%- if @fork -%>
35+
fork: <%= @fork %>
36+
<%- end -%>
37+
<%- if @pidfilepath -%>
38+
pidFilePath: <%= @pidfilepath %>
39+
<%- end -%>
3740
<% end -%>
3841

3942
#Storage

0 commit comments

Comments
 (0)