Last active
February 14, 2024 15:46
-
-
Save naagaraa/510e4de5bc40d80c795a9bf9d23b4d47 to your computer and use it in GitHub Desktop.
supervisor-worker.conf
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:SITE_DOMAIN-worker] | |
process_name=%(program_name)s_%(process_num)02d | |
command=php /var/www/html/SITE_DOMAIN/artisan queue:work --tries=3 --daemon | |
autostart=true | |
autorestart=true | |
stopasgroup=true | |
killasgroup=true | |
user=www-data | |
numprocs=2 | |
redirect_stderr=true | |
stdout_logfile=/var/log/supervisor/SITE_DOMAIN.log | |
stopwaitsecs=300 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment