Created
March 10, 2021 17:28
-
-
Save hassanrazadev/1a90b590bd7d4b0c4d2409fefb7d74fb to your computer and use it in GitHub Desktop.
Configuration file for supervisord to run Laravel queue on Linux server.
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
[supervisord] | |
[program:laravel-worker] | |
process_name=%(program_name)s_%(process_num)02d | |
command=php /path/to/laravel/artisan queue:work | |
autostart=true | |
autorestart=true | |
stopasgroup=true | |
killasgroup=true | |
user=forge | |
numprocs=8 | |
redirect_stderr=true | |
stdout_logfile=/path/to/laravel/worker.log | |
stopwaitsecs=3600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment