Skip to main content

Introduction

This recipe installs and configure supervisor according to a configuration file.

How to use?

You can use by configuration your buildout.cfg configuration file like this:

[buildout]
parts = supervisor

[supervisor]
recipe = jb.recipe.supervisor
configuration-file = supervisor-sample.conf

You can download a sample configuration file at https://github.com/multani/jb.recipe.supervisor/raw/master/supervisord-sample.conf

Running Buildout with this configuration file will generate:

  • a supervisor configuration file using the template from the configuration-file settings as shown above;

  • bin/supervisord, which is a script to run the supervisor daemon, according to the content of the configuration file above ;

  • bin/supervisorctl, which is a script to run the supervisor client, according to the content of the configuration file above.

Additional settings

By default, the configuration file will end in parts/PART_NAME/supervisord.conf, but you can change it by setting the output-dir in your configuration file:

[buildout]
parts = supervisor

[supervisor]
recipe = jb.recipe.supervisor
configuration-file = supervisor-sample.conf
output-dir = /foo/bar
# The configuration will end in /foo/bar/supervisord.conf

The configuration file is processed by collective.recipe.template. It means you can use Buildout variables inside your template, such as ${buildout:parts-directory}, ${_buildout_section_name_}, or any valid settings. See http://pypi.python.org/pypi/zc.buildout/1.5.2#variable-substitutions for more informations.

0.0.1 (2012-03-11)

  • Initial release

Metadata

Release files for jb.recipe.supervisor 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jb.recipe.supervisor 0.0.1
File Size Uploaded
jb.recipe.supervisor-0.0.1.tar.gz 5.2 kB Details

Release files / jb.recipe.supervisor-0.0.1.tar.gz

Download URL jb.recipe.supervisor-0.0.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3b7a822803c690fc8b9af0f155343fe32c23e48a956ea96f480dd90796abbcf2
BLAKE2b-256 checksum
How to use checksums
e464fb0e9965067f718c3195a0f01a52804ac3595128b93512ba78cce1ddeec4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page