Skip to main content

Supervisor serialrestart

https://badge.fury.io/py/supervisor-serialrestart.png https://pypip.in/d/supervisor-serialrestart/badge.png

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.

Metadata

Release files for supervisor-serialrestart 0.1.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 supervisor-serialrestart 0.1.1
File Size Uploaded
supervisor-serialrestart-0.1.1.tar.gz 5.4 kB Details

Release files / supervisor-serialrestart-0.1.1.tar.gz

Download URL supervisor-serialrestart-0.1.1.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c5e06caae06ff9ceb8fe200d9d82db2c755a5c182f789733be5f2187f78e4a15
BLAKE2b-256 checksum
How to use checksums
8b9f6d49a32a2585b9d303eb9cc31a323c847b646bd8bd650528aeb9e46c9f8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

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