[program:deployworker] directory = /etc/ansible/easyAnsible/app/deploy/ command = python Deploy.py process_name = %(program_name)s-%(process_num)s numprocs = 10 stopsignal = QUIT autostart = true # startsecs = 30 # startretries = 3 autorestart = true # exitcodes = 0,1,2 stdout_logfile_maxbytes = 10MB stdout_logfile_backups = 5 stdout_logfile = /var/log/supervisor/%(program_name)s-stdout.log stderr_logfile = /var/log/supervisor/%(program_name)s-stderr.log # redirect_stderr = true
[program:gearserver] directory = /etc/ansible/easyAnsible/app/dispatch/gearserver/ command = java -jar java-gearman-service-0.6.6.jar -p 8889 process_name = %(program_name)s numprocs = 1 stopsignal = QUIT autostart = true # startsecs = 30 # startretries = 3 autorestart = true # exitcodes = 0,1,2 stdout_logfile_maxbytes = 10MB stdout_logfile_backups = 5 stdout_logfile = /var/log/supervisor/%(program_name)s-stdout.log stderr_logfile = /var/log/supervisor/%(program_name)s-stderr.log # redirect_stderr = true
[program:jobworker] directory = /etc/ansible/easyAnsible/app/dispatch/gearwork command = python gearWork.py process_name = %(program_name)s-%(process_num)s numprocs = 10 stopsignal = QUIT autostart = true # startsecs = 30 # startretries = 3 autorestart = true # exitcodes = 0,1,2 stdout_logfile_maxbytes = 10MB stdout_logfile_backups = 5 stdout_logfile = /var/log/supervisor/%(program_name)s-stdout.log stderr_logfile = /var/log/supervisor/%(program_name)s-stderr.log # redirect_stderr = true
[program:webserver] directory = /etc/ansible/easyAnsible command = python manage.py runserver 0.0.0.0:80 --noreload process_name = %(program_name)s numprocs = 1 stopsignal = QUIT autostart = true # startsecs = 30 # startretries = 3 autorestart = true # exitcodes = 0,1,2 stdout_logfile_maxbytes = 10MB stdout_logfile_backups = 5 stdout_logfile = /var/log/supervisor/%(program_name)s-stdout.log stderr_logfile = /var/log/supervisor/%(program_name)s-stderr.log # redirect_stderr = true