Files
matitos_news/app_urls/supervisord.conf
2025-08-27 12:55:00 +02:00

16 lines
358 B
Plaintext

[supervisord]
nodaemon=true
[program:server]
command=gunicorn core.wsgi:application --bind 0.0.0.0:8000
directory=/opt/app
autostart=true
autorestart=true
; Unified log file
stdout_logfile=/opt/logs/server.log
stderr_logfile=/opt/logs/server.log
redirect_stderr=true
; Rotate when file reaches max size
stdout_logfile_maxbytes=20MB
stdout_logfile_backups=1