baseimage-tutorial-framework/supervisord.conf
Bálint Bokros 9f8cc3764f Make supervisor uncontrollable for now
Enabling to stop and start services on a container the user will possibly gain
shell access isn't the best idea.
2017-12-04 21:38:16 +01:00

15 lines
309 B
Plaintext

[supervisord]
user=user
logfile = /tmp/supervisord.log
loglevel = DEBUG
pidfile = /tmp/supervisord.pid
[program:app]
directory=%(ENV_TFW_APP_DIR)s
command=env python app.py
[program:event_handler_example]
directory=%(ENV_TFW_EVENT_HANDLERS_DIR)s
command=env python event_handler_example.py
autorestart=true