Files
password_generator/supervisord.conf
2026-03-24 14:44:15 -07:00

36 lines
974 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[supervisord]
nodaemon=true
logfile=/dev/stdout ; Supervisor itself → stdout
logfile_maxbytes=0 ; (no rotation keeps it simple)
logfile_backups=0
loglevel=info
[program:apache]
command=/usr/sbin/apache2ctl -D FOREGROUND
autostart=true
autorestart=true
stdout_logfile=/dev/stdout ; Apache → stdout
stderr_logfile=/dev/stderr ; Apache → stderr
stdout_logfile_maxbytes=0
stderr_logfile_maxbytes=0
redirect_stderr=true
[program:python]
command=python3 /usr/src/app/app.py
autostart=true
autorestart=true
stdout_logfile=/dev/stdout ; Python → stdout
stderr_logfile=/dev/stderr ; Python → stderr
stdout_logfile_maxbytes=0
stderr_logfile_maxbytes=0
redirect_stderr=true
[program:nginx]
command=/usr/sbin/nginx -g 'daemon off;'
autostart=true
autorestart=true
stdout_logfile=/dev/stdout ; Nginx → stdout
stderr_logfile=/dev/stderr ; Nginx → stderr
stdout_logfile_maxbytes=0
stderr_logfile_maxbytes=0
redirect_stderr=true