mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-05 13:51:21 +00:00
41 lines
855 B
Plaintext
41 lines
855 B
Plaintext
[supervisord]
|
|
user=user
|
|
logfile = /tmp/supervisord.log
|
|
loglevel = DEBUG
|
|
pidfile = /tmp/supervisord.pid
|
|
|
|
[unix_http_server]
|
|
file=/tmp/supervisor.sock
|
|
|
|
[inet_http_server]
|
|
port = 127.0.0.1:%(ENV_TFW_SUPERVISOR_HTTP_PORT)s
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[supervisorctl]
|
|
serverurl=unix:///tmp/supervisor.sock
|
|
|
|
[program:app]
|
|
directory=%(ENV_TFW_APP_DIR)s
|
|
command=env python app.py
|
|
|
|
[program:event_handler_main]
|
|
directory=%(ENV_TFW_EVENT_HANDLERS_DIR)s
|
|
command=env python event_handler_main.py
|
|
|
|
[program:login]
|
|
directory=%(ENV_TFW_LOGIN_APP_DIR)s
|
|
command=env python server.py
|
|
autostart=false
|
|
|
|
[program:terminado]
|
|
directory=%(ENV_TFW_TERMINADO_DIR)s
|
|
command=env python server.py
|
|
autostart=false
|
|
|
|
[program:nginx]
|
|
command=/usr/sbin/nginx -g 'daemon off;'
|
|
autostart=true
|
|
autorestart=true
|