mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-05 16:21:20 +00:00
24 lines
506 B
Plaintext
24 lines
506 B
Plaintext
[supervisord]
|
|
user=user
|
|
logfile = /tmp/supervisord.log
|
|
loglevel = DEBUG
|
|
pidfile = /tmp/supervisord.pid
|
|
|
|
[unix_http_server]
|
|
file=/tmp/supervisor.sock
|
|
|
|
[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:component_example]
|
|
directory=%(ENV_TFW_COMPONENTS_DIR)s
|
|
command=env python component_example.py
|
|
autorestart=true
|