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.
Free software: BSD license
Documentation: http://supervisor-serialrestart.rtfd.org.
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)
| 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 |