Download the PHP package vrok/supervisor-control without Composer
On this page you can find all versions of the php package vrok/supervisor-control. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vrok/supervisor-control
More information about vrok/supervisor-control
Files in vrok/supervisor-control
Package supervisor-control
Short Description ZF3 Module for supervisord management
License MIT
Homepage http://www.vrok.de/
Informations about the package supervisor-control
supervisor-control
ZF3 Module for supervisord management based on mondalaci/supervisor-client. Offers a frontend that allows to restart the supervisord daemon and start/stop single processes, all processes of a group or all configured processes. Shows information about the configured programm groups and the running processes.
Configuration
Add to config/autoload/supervisorcontrol.local.php:
or:
Usage
Entry route is /supervisor-control
Notice: To use supervisor.getProcessInfo() with a program group that uses numprocs > 1 the full qualified name (FQN, "group:process") of a process is required: ` This will produce process names like myprog-0, myprog-1. When calling getProcessInfo("myprog-0") an exception with BAD_NAME will be thrown, use getProcessInfo("myprog:myprog-0") instead. This module overrides getProcessInfo to construct the FQN automatically before querying the API. The extended client functions getProcessConfig, processExists, getProcessState and isProcessRunning work when either the short name or FQN is given.
Todo
Adjust route constraints to allow all possible group/process names, [a-zA-Z0-9_-]+ is probably to restrictive.
Implement twiddler support for modifying and reloading the configuration.
All versions of supervisor-control with dependencies
mondalaci/supervisor-client Version dev-master
zendframework/zend-component-installer Version ^0.6.0
zendframework/zend-mvc Version ^3.1.0
zendframework/zend-mvc-console Version ^1.1.11
zendframework/zend-mvc-form Version ^1.0.0
zendframework/zend-mvc-plugin-flashmessenger Version ^1.0.0