Created
December 30, 2011 00:37
-
-
Save nodesocket/1536941 to your computer and use it in GitHub Desktop.
Supervisord Configuration
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
[supervisord] | |
logfile=/var/log/supervisord.log ; (main log file;default $CWD/supervisord.log) | |
logfile_maxbytes=25MB ; (max main logfile bytes b4 rotation;default 50MB) | |
logfile_backups=5 ; (num of main logfile rotation backups;default 10) | |
loglevel=info ; (log level;default info; others: debug,warn,trace) | |
pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid) | |
nodaemon=false ; (start in foreground if true;default false) | |
minfds=1024 ; (min. avail startup file descriptors;default 1024) | |
minprocs=200 ; (min. avail process descriptors;default 200) | |
[rpcinterface:supervisor] | |
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface | |
; | |
; START OF PROGRAMS | |
; | |
[program:insert_mixpanel_event] | |
command=/usr/bin/php -f insert_mixpanel_event.php | |
numprocs=4 | |
process_name=%(process_num)s | |
directory=/srv/www/lighttpd/domains/api.nodesocket.com/gearman-jobs/ | |
stdout_logfile=/dev/null | |
autostart=true | |
autorestart=true | |
user=nobody |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment