supervisor-wildcards

Implemenents start/stop/restart commands with wildcard support for Supervisor
Download

supervisor-wildcards Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Publisher Name:
  • Ales Zoulek

supervisor-wildcards Tags


supervisor-wildcards Description

Implemenents start/stop/restart commands with wildcard support for Supervisor supervisor-wildcards is a Python module that adds mstop, mstart and mrestart commands to Supervisor. Those commands works exacatly the same way as stop, start and restart respectively, except they support process name wildcarding.In some usecases you can use groups support in Supervisor, but it doesn't allow you to have one process in multiple groups. That's when wildcarding can be realy useful.Example:supervisor> statuscelery-a RUNNING pid 15085, uptime 0:00:11celery-b RUNNING pid 15086, uptime 0:00:12gunicorn-a RUNNING pid 14151, uptime 0:05:18gunicorn-b RUNNING pid 14237, uptime 0:04:45supervisor> mstop *-acelery-a: stoppedgunicorn-a: stoppedsupervisor>Installationpip install supervisor-wildcardsAnd then add into your supervisor.conf:supervisor.ctl_factory = supervisorwildcards.controllerplugin:make_wildcards_controllerplugin Requirements: · Python What's New in This Release: · Commands are run in parallel (Thanks, Honza Kral)


supervisor-wildcards Related Software