This bash script sets up a queue listener with supervisor on homestead in a breeze. It will listen for your queue's automatically when you run vagrant up.
From within your laravel project root ssh into homestead
vagrant ssh
The second and last step is to run the script. It will ask the path to your project's root on homestead.
source <(curl -s https://raw.githubusercontent.com/gmooren/laravel-homestead-queue-supervisor/master/homestead_queue_supervisor.sh)
Supervisor will execute the following command:
php artisan --timeout=300 queue:listen
You can add options to the command or change the command in /usr/local/bin/run_queue.sh
This bash script is very basic at the moment. Extending the script with options in order to specify things like timeouts, env, retry etc. is on the roadmap.
Laravel Homestead Queue Supervisor is open-sourced software licensed under the MIT license