Created
January 19, 2021 13:41
-
-
Save CraigGoesCoding/85232b3bfe720e555a03f523ce690444 to your computer and use it in GitHub Desktop.
Supervisor configuration for running queues on Laravel Homestead
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; see YouTube video: https://youtu.be/T9hfgkKgKOU | |
[program:laravel-worker] | |
process_name=%(program_name)s_%(process_num)02d | |
command=php /home/vagrant/project_folder/artisan queue:listen --tries=3 | |
autostart=true | |
autorestart=true | |
stopasgroup=true | |
killasgroup=true | |
user=vagrant | |
numprocs=1 | |
redirect_stderr=true | |
stdout_logfile=/home/vagrant/project_folder/storage/logs/worker.log | |
stopwaitsecs=30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment