supervisor config file unix_http_server file var run supervisor superv

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
; supervisor config file
[unix_http_server]
file=/var/run/supervisor/supervisor.sock
chmod=0777
chown=webroot:webroot
[supervisord]
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/var/run/supervisor/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
user=webroot
; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///var/run/supervisor/supervisor.sock ; use a unix:// URL for a unix socket
; The [include] section can just contain the "files" setting. This
; setting can list multiple files (separated by whitespace or
; newlines). It can also contain wildcards. The filenames are
; interpreted as relative to this file. Included files *cannot*
; include files themselves.
[include]
files = /etc/supervisor/conf.d/*.conf
[program:prodvigator_keywords_pos_worker]
command=/usr/bin/php /home/webroot/data/prodvigator.ru/deploy/current/app/cli.php keywords_pos_worker start
process_name=%(program_name)s_%(process_num)d
stdout_logfile=/home/webroot/data/prodvigator.ru/logs/%(program_name)s.log
redirect_stderr=true
stdout_capture_maxbytes=64MB
stdout_logfile_backups=3
numprocs=10
numprocs_start=0
autostart=true
autorestart=true
[program:prodvigator_keywords_worker]
command=/usr/bin/php /home/webroot/data/prodvigator.ru/deploy/current/app/cli.php keywords_worker start
process_name=%(program_name)s_%(process_num)d
stdout_logfile=/home/webroot/data/prodvigator.ru/logs/%(program_name)s.log
redirect_stderr=true
stdout_capture_maxbytes=64MB
stdout_logfile_backups=3
numprocs=10
numprocs_start=0
autostart=true
autorestart=true
[program:prodvigator_mailer_worker]
command=/usr/bin/php /home/webroot/data/prodvigator.ru/deploy/current/app/cli.php mailer_worker start
process_name=%(program_name)s_%(process_num)d
stdout_logfile=/home/webroot/data/prodvigator.ru/logs/%(program_name)s.log
redirect_stderr=true
stdout_capture_maxbytes=64MB
stdout_logfile_backups=3
numprocs=10
numprocs_start=0
autostart=true
autorestart=true
[program:prodvigator_prcy_api_worker]
command=/usr/bin/php /home/webroot/data/prodvigator.ru/deploy/current/app/cli.php prcy_api_worker start
process_name=%(program_name)s_%(process_num)d
stdout_logfile=/home/webroot/data/prodvigator.ru/logs/%(program_name)s.log
redirect_stderr=true
stdout_capture_maxbytes=64MB
stdout_logfile_backups=3
numprocs=10
numprocs_start=0
autostart=true
autorestart=true
[program:prodvigator_projects_worker]
command=/usr/bin/php /home/webroot/data/prodvigator.ru/deploy/current/app/cli.php projects_worker start
process_name=%(program_name)s_%(process_num)d
stdout_logfile=/home/webroot/data/prodvigator.ru/logs/%(program_name)s.log
redirect_stderr=true
stdout_capture_maxbytes=64MB
stdout_logfile_backups=3
numprocs=10
numprocs_start=0
autostart=true
autorestart=true
[program:prodvigator_sape_api_worker]
command=/usr/bin/php /home/webroot/data/prodvigator.ru/deploy/current/app/cli.php sape_api_worker start
process_name=%(program_name)s_%(process_num)d
stdout_logfile=/home/webroot/data/prodvigator.ru/logs/%(program_name)s.log
redirect_stderr=true
stdout_capture_maxbytes=64MB
stdout_logfile_backups=3
numprocs=10
numprocs_start=0
autostart=true
autorestart=true
[program:prodvigator_seowizard_api_worker]
command=/usr/bin/php /home/webroot/data/prodvigator.ru/deploy/current/app/cli.php seowizard_api_worker start
process_name=%(program_name)s_%(process_num)d
stdout_logfile=/home/webroot/data/prodvigator.ru/logs/%(program_name)s.log
redirect_stderr=true
stdout_capture_maxbytes=64MB
stdout_logfile_backups=3
numprocs=10
numprocs_start=0
autostart=true
autorestart=true