Versions Compared

Key

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


...

What is Supervisor?

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

...

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) Important: The customer is responsible for the configuration and correct functioning of their supervisor services! (warning)

Functionality

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

...

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:  

...