2017-11-21 12:19:37 +00:00
|
|
|
[supervisord]
|
|
|
|
user=user
|
|
|
|
logfile = /tmp/supervisord.log
|
2018-01-31 10:38:01 +00:00
|
|
|
loglevel = debug
|
2017-11-21 12:19:37 +00:00
|
|
|
pidfile = /tmp/supervisord.pid
|
|
|
|
|
2018-01-10 15:31:36 +00:00
|
|
|
[inet_http_server]
|
|
|
|
port = 127.0.0.1:%(ENV_TFW_SUPERVISOR_HTTP_PORT)s
|
|
|
|
|
2017-12-22 13:14:23 +00:00
|
|
|
[rpcinterface:supervisor]
|
|
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
|
|
|
|
[supervisorctl]
|
2018-01-30 09:51:23 +00:00
|
|
|
serverurl=http://127.0.0.1:%(ENV_TFW_SUPERVISOR_HTTP_PORT)s
|
2017-12-22 13:14:23 +00:00
|
|
|
|
2018-01-10 15:55:48 +00:00
|
|
|
[program:nginx]
|
|
|
|
command=/usr/sbin/nginx -g 'daemon off;'
|
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
2018-01-31 16:02:45 +00:00
|
|
|
|
|
|
|
[program:app]
|
|
|
|
directory=%(ENV_TFW_APP_DIR)s
|
|
|
|
command=env python app.py
|
|
|
|
|
|
|
|
[include]
|
|
|
|
files=%(ENV_TFW_SUPERVISORD_COMPONENTS)s/*.conf
|