Created
April 14, 2019 14:56
-
-
Save egulhan/e0194fbcdf41aa65fa15e5044b93df73 to your computer and use it in GitHub Desktop.
Supervisor configuration for Redis queue Laravel worker
This file contains 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
[program:laravel-worker] | |
process_name=%(program_name)s_%(process_num)02d | |
command=/usr/bin/php ../artisan queue:work redis --sleep=3 --tries=3 | |
directory=/var/www/projects/project1/web/public/ | |
autostart=true | |
autorestart=true | |
user=www-data | |
numprocs=8 | |
redirect_stderr=true | |
stdout_logfile=/var/www/projects/project1/web/worker.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment