-
Notifications
You must be signed in to change notification settings - Fork 0
/
worker.conf
13 lines (13 loc) · 972 Bytes
/
worker.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
[program:gearman-worker]
command=php BackgroundWorker.php
process_name=%(program_name)s%(process_num)02d ; process_name expr (default %(program_name)s)
numprocs=3 ; number of processes copies to start (def 1)
autostart=true ; start at supervisord start (default: true)
autorestart=true ; whether/when to restart (default: unexpected)
user=xyz ; setuid to this UNIX account to run the program
stdout_logfile=/gearman_log/gearman_output.log ; stdout log path, NONE for none; default AUTO
stdout_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB)
stdout_logfile_backups=10 ; # of stdout logfile backups (default 10)
stderr_logfile=/gearman_log/gearman_error.log ; stderr log path, NONE for none; default AUTO
stderr_logfile_maxbytes=1MB ; max # logfile bytes b4 rotation (default 50MB)
stderr_logfile_backups=10 ; # of stderr logfile backups (default 10)