Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Adds serialrestart command to Supervisor.

Project Description

Supervisor serialrestart

Adds serialrestart command to [Supervisor](http://supervisord.org/). This command works simmilar to restart but if you have multiple services, it sometimes is preferable to restart them one after another to minimize downtime.

It even supports wildcards.

Usage

supervisor> status
baz:bar                          RUNNING
baz:foo                          RUNNING
one                              RUNNING

supervisor> serialrestart all
baz:bar: stopped
baz:bar: started
baz:foo: stopped
baz:foo: started
one: stopped
one: started

supervisor> serialrestart baz:*
baz:bar: stopped
baz:bar: started
baz:foo: stopped
baz:foo: started

$supervisor> serialrestart baz:b*
baz:bar: stopped
baz:bar: started

Installation

At the command line:

$ easy_install supervisor-serialrestart

Or:

$ pip install supervisor-serialrestart

And then add into your supervisor.conf:

[ctlplugin:serialrestart]
supervisor.ctl_factory = supervisorserialrestart.controllerplugin:make_serialrestart_controllerplugin

History

0.1.1 (2013-10-29)

  • just fixxed documentation/project structure

0.1.0 (2013-10-16)

  • First release on PyPI.

History

0.1.1 (2013-10-29)

  • just fixed documentation/project structure

0.1.0 (2013-10-16)

  • First release on PyPI.
Release History

Release History

This version
History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
supervisor-serialrestart-0.1.1.tar.gz (5.4 kB) Copy SHA256 Checksum SHA256 Source Oct 29, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting