Created
August 21, 2013 03:47
-
-
Save kenshinx/6290143 to your computer and use it in GitHub Desktop.
supervisord.conf with godns and joke
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[unix_http_server] | |
file=/tmp/supervisor.sock ; path to your socket file | |
chmod=0777 | |
chown=supervisord:supervisord | |
[inet_http_server] | |
port=1222 | |
username=sinasec | |
password=hello | |
[supervisord] | |
logfile=/var/log/supervisord/supervisord.log ; supervisord log file | |
logfile_maxbytes=50MB ; maximum size of logfile before rotation | |
logfile_backups=10 ; number of backed up logfiles | |
loglevel=info ; info, debug, warn, trace | |
pidfile=/var/run/supervisord.pid ; pidfile location | |
nodaemon=false ; run supervisord as a daemon | |
minfds=1024 ; number of startup file descriptors | |
minprocs=200 ; number of process descriptors | |
user=root ; default user | |
childlogdir=/var/log/supervisord/ ; where child log files will live | |
[rpcinterface:supervisor] | |
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface | |
[supervisorctl] | |
serverurl=unix:///tmp/supervisor.sock ; use unix:// schem for a unix sockets. | |
; godns configuration | |
[program:godns] | |
command=/usr/local/bin/godns -c /etc/godns.conf | |
autostart=true | |
autorestart=true | |
user=root | |
stdout_logfile_maxbytes = 50MB | |
stdoiut_logfile_backups = 20 | |
stdout_logfile = /var/log/godns.log | |
; joke configuration | |
[program:joke] | |
command=/var/joke/joke | |
autostart=true | |
autorestart=true | |
user=joke | |
directory=/var/joke | |
stdout_logfile_maxbytes = 50MB | |
stdout_logfile_backups = 20 | |
stdout_logfile = /var/log/joke.log | |
...skipping one line | |
# Include celery worker and scheduler configuration | |
# files=/etc/celeryd.conf /etc/scheduler.conf | |
# Uncomment this line for celeryd for Django. | |
# files=django/celeryd.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment