forked from thumbor/thumborizeme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsupervisor.conf
39 lines (37 loc) · 1.05 KB
/
supervisor.conf
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
[supervisord]
logfile = /var/logs/supervisord.log
logfile_maxbytes = 50MB
logfile_backups=10
loglevel = info
pidfile = /tmp/supervisord.pid
environment = HOST="http://thumborize.globo.com",THUMBOR_HOST="http://thumbor.thumborize.globo.com"
[program:thumbor]
command=thumbor --port=800%(process_num)s --conf=/etc/thumbor.conf
process_name=thumbor800%(process_num)s
numprocs=4
directory=/tmp/thumbor/
autostart=true
autorestart=true
startretries=3
stopsignal=TERM
stdout_logfile=/var/logs/thumbor800%(process_num)s.stdout.log
stdout_logfile_maxbytes=1MB
stdout_logfile_backups=10
stderr_logfile=/var/logs/thumbor800%(process_num)s.stderr.log
stderr_logfile_maxbytes=1MB
stderr_logfile_backups=10
[program:website]
command=thumborizeme
process_name=website9000
numprocs=1
directory=/tmp/current/thumborizeme
autostart=true
autorestart=true
startretries=3
stopsignal=TERM
stdout_logfile=/var/logs/website9000s.stdout.log
stdout_logfile_maxbytes=1MB
stdout_logfile_backups=10
stderr_logfile=/var/logs/website9000s.stderr.log
stderr_logfile_maxbytes=1MB
stderr_logfile_backups=10