; Replace the project directory, Linux username, and PHP executable before installing.
[program:platform-whatsapp-queue]
directory=/home/CPANEL_USER/apps/platform_whatsapp
command=/usr/local/bin/ea-php84 artisan queue:work database --queue=broadcasts,campaigns,default --sleep=1 --timeout=60 --tries=3 --max-time=3600
user=CPANEL_USER
numprocs=1
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
stopwaitsecs=90
redirect_stderr=true
stdout_logfile=/home/CPANEL_USER/apps/platform_whatsapp/storage/logs/queue-supervisor.log
stdout_logfile_maxbytes=20MB
stdout_logfile_backups=5

[program:platform-whatsapp-reverb]
directory=/home/CPANEL_USER/apps/platform_whatsapp
command=/usr/local/bin/ea-php84 artisan reverb:start --host=127.0.0.1 --port=8080
user=CPANEL_USER
numprocs=1
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
stopwaitsecs=90
redirect_stderr=true
stdout_logfile=/home/CPANEL_USER/apps/platform_whatsapp/storage/logs/reverb-supervisor.log
stdout_logfile_maxbytes=20MB
stdout_logfile_backups=5
