Using Akeneo with Supervisor

In this article we will show you how to use Supervisor in the context of Akeneo 4, 5 and 6.

To be able to use Supervisor in connection with Akeneo, first install Supervisor by creating a new programme in the Application Center of maxcluster under Webserver > Supervisor. Now insert one of the following code blocks according to the Akeneo version used.

Akeneo 4

[program:akeneo_queue_daemon]
command=/usr/bin/php7.3 /var/www/share/${VHOST}/akeneo/bin/console akeneo:batch:job-queue-consumer-daemon --env=prod
autostart=true
autorestart=true
stderr_logfile=/var/www/share/${VHOST}/akeneo/var/logs/akeneo_daemon.err.log
stdout_logfile=/var/www/share/${VHOST}/akeneo/var/logs/akeneo_daemon.out.log

Do not forget to replace the placeholder ${VHOST} with the domain of your Akeneo installation.

Akeneo 5

[program:akeneo_queue_daemon]
command=/usr/bin/php7.4 /var/www/share/${VHOST}/akeneo/bin/console akeneo:batch:job-queue-consumer-daemon --env=prod
autostart=true
autorestart=true
stderr_logfile=/var/www/share/${VHOST}/akeneo/var/logs/akeneo_daemon.err.log
stdout_logfile=/var/www/share/${VHOST}/akeneo/var/logs/akeneo_daemon.out.log

Do not forget to replace the placeholder ${VHOST} with the domain of your Akeneo installation.

Akeneo 6

[program:akeneo_queue_daemon]
command=/usr/bin/php8.0 /var/www/share/${VHOST}/akeneo/bin/console messenger:consume ui_job import_export_job data_maintenance_job --env=prod -vv # optional: --limit=3
autostart=true
autorestart=true
stderr_logfile=/var/www/share/${VHOST}/akeneo/var/logs/akeneo_daemon.err.log
stdout_logfile=/var/www/share/${VHOST}/akeneo/var/logs/akeneo_daemon.out.log

Do not forget to replace the placeholder ${VHOST} with the domain of your Akeneo installation.

Do you have questions about using Supervisor in the context of Akeneo?

If you have any questions, please do not hesitate to contact us. You can reach us by e-mail support@maxcluster.de or by phone 05251-414130.

Do you need assistance?

favicon
maxcluster GmbH
24 / 7 Customer support
Telephone:
+49 5251 414130
E-Mail:
support@maxcluster.de
logo

Do you need assistance?

maxcluster GmbH
24 / 7 Customer support
Telephone:
+49 5251 414130
E-Mail:
support@maxcluster.de
image
image