Skip to content

Commit

Permalink
Default PID path for mongod to ensure that it works with systemd on F…
Browse files Browse the repository at this point in the history
…edora
  • Loading branch information
rickmark committed Oct 26, 2014
1 parent 72ffcb1 commit e02e50d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions attributes/dbconfig.rb
Expand Up @@ -21,6 +21,7 @@
case node['platform_family']
when 'rhel', 'fedora'
default['mongodb']['config']['fork'] = true
default['mongodb']['config']['pidfilepath'] = '/var/run/mongodb/mongodb.pid'
else
default['mongodb']['config']['fork'] = false
end
Expand Down

0 comments on commit e02e50d

Please sign in to comment.