Installing Supervisor
Last updated
Last updated
Supervisor is a process control system used to ensure that the used by Elentra are running. You must install and configure Supervisor on any environment running Elentra, but doing the following:
Install the required Supervisor package:
Edit the main configuration file at /etc/supervisord.conf
and make the following changes to allow control over Supervisor by non-root users.
Modify the [unix_http_server]
section
Set the value of chmod
to 0770
in order give access users who are in the same group and then add a new option called chown
and set it to the user nobody
and group apache
. If Apache is not running as the group apache
, please substitute this accordingly.
Modify the [supervisorctl]
section
Supervisor must be configured to communicate over a Unix socket.
Add the staging
and production
users to the apache
group.
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 command
and stdout_logfile
, and that user
is the correct system account that your existing cron jobs are run as.
Restart Supervisor: