(Archived) Supervisor Process Manager

You have tried to access an archived page. Please go to the new https://root360.atlassian.net/wiki/spaces/KB to find more documents.


What is Supervisor?

Supervisor is a process manager that can be used to control scripts as a service. See http://supervisord.org/.

We offer this process manager with two options:

  1. we configure the supervisor service to run the command the customer requires

  2. the customers can write and configure supervisor services themselves

To use supervisor, open a ticket and write us what you need it for.

After we understand what you need, we install and configure supervisor on the needed systems. Supervisor can then be used by the customer.



Details on Option 2

 Important: The customer is responsible for the configuration and correct functioning of their supervisor services! 

Functionality

A supervisor service is started in the context of www-data. This monitors a shared path to supervisor configuration files.

Requirements for these configuration files are:

Supervisor is automatically restarted after each deployment, so that new and changed configuration for new supervisor services can be imported and started.

Logging

Supervisor logs all output and errors to /var/log/application/supervisord_www-data/ on the server on which it is running.

These logs, like all logs in /var/log/application/ (see also How can I access the central log system? ) are registered in the central log system and collected on the jump server.

Process control

All configured processes and the supervisor can be controlled by the following command:  

sudo -u www-data supervisorctl -c /etc/supervisor/supervisord_www-data.conf

(For more information about the command, see http://supervisord.org/running.html#supervisorctl-command-line-options )

root360 Knowledge Base - This portal is hosted by Atlassian (atlassian.com | Privacy Policy)