; Place at /etc/supervisor/conf.d/datasbjc-worker.conf (as root)
; Runs the queue worker as the SITE user so files stay writable.

[program:datasbjc-worker]
process_name=%(program_name)s_%(process_num)02d
command=/opt/cpanel/ea-php83/root/usr/bin/php /home/voiceagent/public_html/data.matladu.com/artisan queue:work --sleep=3 --tries=5 --max-time=3600 --max-jobs=1000
directory=/home/voiceagent/public_html/data.matladu.com
autostart=true
autorestart=true
user=voiceagent
numprocs=1
redirect_stderr=true
stdout_logfile=/home/voiceagent/public_html/data.matladu.com/storage/logs/worker.log
stopwaitsecs=3600

; After creating: supervisorctl reread && supervisorctl update && supervisorctl start datasbjc-worker:*
