2025-08-02 03:22:09 +02:00
|
|
|
[supervisord]
|
|
|
|
|
nodaemon=true
|
|
|
|
|
user=root
|
|
|
|
|
logfile=/var/log/supervisord.log
|
|
|
|
|
pidfile=/var/run/supervisord.pid
|
|
|
|
|
|
|
|
|
|
[program:nginx]
|
|
|
|
|
command=nginx -g "daemon off;"
|
|
|
|
|
autostart=true
|
|
|
|
|
autorestart=true
|
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
|
priority=10
|
|
|
|
|
|
|
|
|
|
[program:php-fpm]
|
|
|
|
|
command=php-fpm --nodaemonize
|
|
|
|
|
autostart=true
|
|
|
|
|
autorestart=true
|
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
|
stderr_logfile_maxbytes=0
|
2025-08-12 12:17:27 +02:00
|
|
|
priority=10
|
|
|
|
|
|
|
|
|
|
[program:horizon]
|
|
|
|
|
command=php /var/www/html/backend/artisan horizon
|
|
|
|
|
autostart=true
|
|
|
|
|
autorestart=true
|
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
|
priority=20
|
|
|
|
|
|
|
|
|
|
[program:scheduler]
|
|
|
|
|
command=sh -c "while true; do php /var/www/html/backend/artisan schedule:run --verbose --no-interaction; sleep 60; done"
|
|
|
|
|
autostart=true
|
|
|
|
|
autorestart=true
|
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
|
priority=20
|