41 lines
983 B
Plaintext
41 lines
983 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
logfile=/var/log/supervisor/supervisord.log
|
|
pidfile=/var/run/supervisord.pid
|
|
|
|
; ============================
|
|
; Redis
|
|
; ============================
|
|
[program:redis]
|
|
command=/usr/bin/redis-server --bind 127.0.0.1 --protected-mode no
|
|
priority=5
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/var/log/supervisor/redis.out.log
|
|
stderr_logfile=/var/log/supervisor/redis.err.log
|
|
startsecs=3
|
|
|
|
; ============================
|
|
; PHP-FPM
|
|
; ============================
|
|
[program:php-fpm]
|
|
command=/usr/local/sbin/php-fpm -F
|
|
priority=10
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/var/log/supervisor/php-fpm.out.log
|
|
stderr_logfile=/var/log/supervisor/php-fpm.err.log
|
|
|
|
; ============================
|
|
; Horizon
|
|
; ============================
|
|
[program:horizon]
|
|
command=php /eap/artisan horizon
|
|
directory=/eap
|
|
user=www-data
|
|
priority=20
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/var/log/supervisor/horizon.out.log
|
|
stderr_logfile=/var/log/supervisor/horizon.err.log
|