-
Notifications
You must be signed in to change notification settings - Fork 1
/
supervisord.conf
74 lines (64 loc) · 1.86 KB
/
supervisord.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
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
[unix_http_server]
file=/tmp/supervisor.sock
chown=root:wheel
chmod=0770
[supervisorctl]
serverurl=unix:///tmp/supervisor.sock
[supervisord]
logfile=/tmp/supervisord.log
loglevel=info
pidfile=/var/run/supervisord.pid
nodaemon=false
minfds=1024
minprocs=200
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[program:isucon_ruby]
directory=/home/isucon/webapp/ruby
command=/home/isucon/env.sh foreman start
user=isucon
stdout_logfile=/tmp/isucon.ruby.log
stderr_logfile=/tmp/isucon.ruby.log
autostart=true
[program:redis]
directory=/home/isucon/redis
command=/home/isucon/.local/redis/bin/redis-server /home/isucon/webapp/redis.conf
user=isucon
stdout_logfile=/tmp/isucon.redis.log
stderr_logfile=/tmp/isucon.redis.log
autostart=true
[program:isucon_python]
directory=/home/isucon/webapp/python
command=/home/isucon/env.sh gunicorn -c gunicorn_config.py app:app
user=isucon
stdout_logfile=/tmp/isucon.python.log
stderr_logfile=/tmp/isucon.python.log
autostart=false
[program:isucon_php]
directory=/home/isucon/webapp/php
command=/home/isucon/env.sh php-fpm -y /home/isucon/webapp/php/php-fpm.conf
user=isucon
stdout_logfile=/tmp/isucon.php.log
stderr_logfile=/tmp/isucon.php.log
autostart=false
[program:isucon_perl]
directory=/home/isucon/webapp/perl
command=/home/isucon/env.sh carton exec plackup -s Starman --host localhost:8080 -E prod app.psgi
user=isucon
stdout_logfile=/tmp/isucon.perl.log
stderr_logfile=/tmp/isucon.perl.log
autostart=false
[program:isucon_node]
directory=/home/isucon/webapp/node
command=/home/isucon/env.sh node app.js
user=isucon
stdout_logfile=/tmp/isucon.node.log
stderr_logfile=/tmp/isucon.node.log
autostart=false
[program:isucon_go]
directory=/home/isucon/webapp/go
command=/home/isucon/env.sh ./golang-webapp
user=isucon
stdout_logfile=/tmp/isucon.go.log
stderr_logfile=/tmp/isucon.go.log
autostart=false