Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

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

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

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.

...

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

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

...