From 3727e20b98fe3a1baa7e18ccce0bfdbf7243dd70 Mon Sep 17 00:00:00 2001 From: Alexis Bruneteau Date: Thu, 5 Jun 2025 03:47:13 +0200 Subject: [PATCH] tag --- deploy/supervisord.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/deploy/supervisord.conf b/deploy/supervisord.conf index 7dd8855..87e8dea 100644 --- a/deploy/supervisord.conf +++ b/deploy/supervisord.conf @@ -6,3 +6,12 @@ command=/usr/local/sbin/php-fpm [program:nginx] command=/usr/sbin/nginx -g "daemon off;" + +[program:queue] +directory=/var/www +command=php artisan queue:work --daemon --sleep=3 --tries=1 --timeout=120 +autostart=true +autorestart=true +user=www-data +stderr_logfile=/var/log/laravel-queue.err.log +stdout_logfile=/var/log/laravel-queue.out.log