Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Recommended Articles

We recommend to read the following articles before continuing with this tutorial.

What is supervisord?

Supervisord 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:

  • Option 1: we configure the supervisor service to run the command the customer requires

  • Option 2: the customers can write and configure supervisord services themselves

To use supervisord, open a ticket and write us at service@root360.de what you need it for.

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

Details on Option 2

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

Functionality

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

Requirements for these configuration files are:

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

Logging

Supervisord 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 Standard Logging (root360)  ) 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 )

Related Tutorials

Filter by label

There are no items with the selected labels at this time.

Related Components

Filter by label

There are no items with the selected labels at this time.

EXPERT


Related questions

There are no items with the selected labels at this time.

E


  • No labels