Skip to content

Instantly share code, notes, and snippets.

@SeyamMs
Last active January 18, 2025 16:03
Show Gist options
  • Save SeyamMs/12b97284335c2163d80fbb0c9dd67770 to your computer and use it in GitHub Desktop.
Save SeyamMs/12b97284335c2163d80fbb0c9dd67770 to your computer and use it in GitHub Desktop.
laravel reverb server supervisor configuration file
after installing supervisor (if not see: https://gist.github.com/SeyamMs/2da8fcfa678633dcf6bb2a801d1f3633)
nano /etc/supervisor/conf.d/reverb.conf
[program:laravel-reverb]
process_name=%(program_name)s
command=php /var/www/example.com/artisan reverb:start
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
numprocs=1
minfds=10000
redirect_stderr=true
stdout_logfile=/var/www/example.com/storage/logs/reverb.log
stopwaitsecs=3600
stdout_logfile_maxbytes=5MB
sudo supervisorctl reread
sudo supervisorctl update
sudo systemctl status supervisor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment