I am new to supervisor, and am trying to create a configuration that
will launch 6 gearman workers and keep them up and running.  With the
configuration I have posted, only one worker gets created, but I'm not
sure why.  What am I doing wrong?

 

[program:my_worker]

command=/usr/local/bin/php /site/lib/gearman_workers/my_worker.php

directory=/site/lib/gearman_workers

process_name=%(process_num)s

numprocs=2

autostart=true

autorestart=true

startsecs=10

startretries=3 

exitcodes=0,2

stopsignal=QUIT

stopwaitsecs=600

user=www

log_stdout=true

log_stderr=true

logfile=/var/log/workers.log

 

 

-Erich-

_______________________________________________
Supervisor-users mailing list
[email protected]
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to