From f01073b16994ec51ba842bb2f926ab7061a8a882 Mon Sep 17 00:00:00 2001 From: JiaJia Ji Date: Thu, 7 Nov 2024 12:02:39 +0100 Subject: [PATCH] Update supervisord.conf --- .docker/supervisord.conf | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.docker/supervisord.conf b/.docker/supervisord.conf index e0956b3de..4edb00234 100644 --- a/.docker/supervisord.conf +++ b/.docker/supervisord.conf @@ -2,7 +2,7 @@ # Important Notice: this configuration is not optimized for production use! [program:messenger-consume] -command=php /var/www/html/bin/console messenger:consume pimcore_core pimcore_maintenance pimcore_scheduled_tasks pimcore_image_optimize pimcore_asset_update --memory-limit=250M --time-limit=3600 +command=php /var/www/html/bin/console messenger:consume pimcore_core pimcore_maintenance pimcore_scheduled_tasks pimcore_image_optimize --memory-limit=250M --time-limit=3600 numprocs=1 startsecs=0 autostart=true @@ -12,6 +12,18 @@ stdout_logfile=/dev/fd/1 stdout_logfile_maxbytes=0 redirect_stderr=true +[program:consume-asset-update] +command=php /var/www/html/bin/console messenger:consume pimcore_asset_update --memory-limit=250M --time-limit=3600 +numprocs=1 +startsecs=0 +autostart=true +autorestart=true +process_name=%(program_name)s_%(process_num)02d +stdout_logfile=/dev/fd/1 +stdout_logfile_maxbytes=0 +redirect_stderr=true + + [program:maintenance] command=bash -c 'sleep 3600 && exec php /var/www/html/bin/console pimcore:maintenance' autostart=true