Elentra ME 1.15 requires a new RHEL / CentOS package available in epel, called Supervisor. Supervisor is a process control system used to ensure that Laravel Queues are running, in order to process new queued jobs. To install supervisor, simply run:
yum install supervisorsystemctl enable supervisordsystemctl start supervisord
Create a new file in the
/etc/supervisor.d directory called
elentra.ini, and use the following template snippet as a reference to create your own file.
Please make sure that you have the correct path in
stdout_logfile, and that
user is the correct system account that your existing cron jobs are run as.
[program:elentra]process_name=%(program_name)s_%(process_num)02dcommand=php /var/www/vhosts/elentra.med.university.edu/current/www-root/core/library/vendor/elentrapackages/elentra-1x-api/artisan queue:work --queue=high,emails,default,low --env=productionautostart=trueautorestart=trueuser=productionnumprocs=1redirect_stderr=truestdout_logfile=/var/www/vhosts/elentra.med.university.edu/storage/logs/worker.log
systemctl restart supervisord