Skip to content

Instantly share code, notes, and snippets.

@ehazlett
Created February 13, 2012 15:32
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ehazlett/1817622 to your computer and use it in GitHub Desktop.
Save ehazlett/1817622 to your computer and use it in GitHub Desktop.
MongoDB supervisor config
[program:mongodb]
command=/opt/mongodb/bin/mongod --dbpath /storage/mongodb_data --rest
directory=/opt/mongodb
user=root
autostart=false
@R-Peleg
Copy link

R-Peleg commented May 30, 2021

It is recommended to start the process as user mongodb instead of root

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment