Skip to content

Instantly share code, notes, and snippets.

@betapcode
Forked from robcowie/django-uwsgi.ini
Created April 18, 2019 07:09
Show Gist options
  • Save betapcode/53a53b90b73136cbb041397dc3b05725 to your computer and use it in GitHub Desktop.
Save betapcode/53a53b90b73136cbb041397dc3b05725 to your computer and use it in GitHub Desktop.
Supervisord config examples
[program:uwsgi]
user=robdev
command=uwsgi --ini /path/to/config.uwsgi
autostart=false
[program:hubot]
autostart=false
command=/Users/robcowie/projects/hubot-plugins/hubot/bin/hubot -a irc
directory=/Users/robcowie/projects/hubot-plugins/hubot
environment=HUBOT_IRC_NICK="hubot",HUBOT_IRC_ROOMS="#hubot",HUBOT_IRC_SERVER="127.0.0.1"
[program:memcached]
command=/usr/local/bin/memcached
autostart = false
stdout_logfile=/var/log/memcached.stdout.log
redirect_stderr=true
stopsignal=INT
[program:mongodb]
autostart=false
command=mongod run --config /usr/local/etc/mongod.conf
[program:mysql]
autostart=false
user=mysql
command=/usr/local/share/python/pidproxy /usr/local/var/mysql/machinename.local.pid /usr/local/bin/mysqld_safe --datadir=/usr/local/var/mysql --pid-file=/usr/local/var/mysql/machinename.local.pid
environment=PATH=/usr/local/sbin:/usr/bin:/bin:/usr/local/bin
[program:nginx]
user=user
directory=/usr/local
command=/usr/local/sbin/nginx
autostart=false
[program:ngircd]
command=ngircd --nodaemon
autostart=false
[program:postgres]
user=user
command=/usr/local/Cellar/postgresql/9.1.4/bin/postmaster -D /usr/local/var/postgres9
stopsignal=INT
redirect_stderr=true
autostart = false
[program:rabbitmq]
autostart=false
command=/usr/local/sbin/rabbitmq-server
environment=PATH=/usr/local/sbin:/usr/bin:/bin:/usr/local/bin
[program:redis]
directory=/usr/local/var
command=/usr/local/bin/redis-server /usr/local/etc/redis.conf
autostart=false
[program:solr]
directory = /usr/local/Cellar/solr4/solr/libexec/example
command = java -Dsolr.solr.home=multicore -jar /usr/local/Cellar/solr4/solr/libexec/example/start.jar
stopsignal = KILL
autostart = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment