Skip to content

Instantly share code, notes, and snippets.

@rdkls
Created February 14, 2013 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdkls/4957510 to your computer and use it in GitHub Desktop.
Save rdkls/4957510 to your computer and use it in GitHub Desktop.
[program:mongod]
autostart=true
command=/usr/bin/mongod -f /etc/mongod.conf
user=mongod
log_stderr=true
log_stdout=true
logfile=/var/log/mongo/mongod.log
stdout_logfile=/var/log/mongo/mongod.log
stderr_logfile=/var/log/mongo/mongod.log
stopsignal=2
file=/tmp/supervisor.mongod.sock
chmod=0770
chown=mongod:mongod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment