mirror of
https://github.com/alexjustesen/speedtest-tracker.git
synced 2026-06-23 04:20:08 +00:00
27 lines
642 B
Plaintext
27 lines
642 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
user=root
|
|
logfile=/var/log/supervisor/supervisord.log
|
|
pidfile=/var/run/supervisord.pid
|
|
|
|
[program:cron]
|
|
command=/usr/sbin/cron -f -l 8
|
|
user=root
|
|
autostart=true
|
|
stdout_logfile=/var/log/cron.out.log
|
|
stderr_logfile=/var/log/cron.err.log
|
|
|
|
# https://mhmdomer.com/setting-up-laravel-queue-workers-using-supervisor
|
|
[program:queue-worker]
|
|
process_name=%(program_name)s_%(process_num)02d
|
|
command=php /var/www/html/artisan queue:work --tries=3
|
|
autostart=true
|
|
autorestart=true
|
|
stopasgroup=true
|
|
killasgroup=true
|
|
user=webuser
|
|
numprocs=1
|
|
redirect_stderr=true
|
|
stdout_logfile=/var/www/html/storage/logs/queue.log
|
|
stopwaitsecs=3600
|