Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set mongodb config file to null device #232

Merged
merged 3 commits into from Aug 7, 2013
Merged

set mongodb config file to null device #232

merged 3 commits into from Aug 7, 2013

Conversation

sespindola
Copy link
Contributor

Hi,
I've added code to lib/util/mongod.js to determine the platform specific null device and set the mongod config
file to it. This will prevent abnormal behavior when mongodb is installed with homebrew and other repositories
that set a "mongod" script in the system path.

Regards,

Sebastian.

var null_device = '/dev/null'
} else if (process.platform.match(/win32/) !== null) {
var null_device = 'NUL'
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no else ?

ritch added a commit that referenced this pull request Aug 7, 2013
set mongodb config file to null device
@ritch ritch merged commit 376d6eb into deployd:master Aug 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants