1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-30 10:11:34 +00:00
Files
mailcow-dockerized/data/Dockerfiles/controller/supervisord.conf

18 lines
398 B
Plaintext

[supervisord]
nodaemon=true
user=root
pidfile=/var/run/supervisord.pid
[program:api]
command=python /app/api/main.py
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr
stdout_logfile_maxbytes=0
stderr_logfile_maxbytes=0
[eventlistener:processes]
command=/usr/local/sbin/stop-supervisor.sh
events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL