[program:whatsapp-queue]
process_name=%(program_name)s_%(process_num)02d
# tries=5 selaras dengan SimpleWhatsAppJob; timeout=120 agar job tidak di-kill saat API/upload lama
command=/usr/bin/php /var/www/html/waba_saas/artisan queue:work redis --queue=whatsapp --tries=5 --timeout=120 --sleep=3 --max-time=3600
directory=/var/www/html/waba_saas
user=www-data
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
numprocs=2
redirect_stderr=true
stdout_logfile=/var/www/html/waba_saas/storage/logs/whatsapp-queue.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=5
stopwaitsecs=3600
