2017 © Pedro Peláez
 

library humus-supervisor-module

Supervisor module for Zend Framework 2 based on supervisord

image

prolic/humus-supervisor-module

Supervisor module for Zend Framework 2 based on supervisord

  • Tuesday, June 23, 2015
  • by prolic
  • Repository
  • 1 Watchers
  • 5 Stars
  • 9,248 Installations
  • PHP
  • 2 Dependents
  • 1 Suggesters
  • 1 Forks
  • 5 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Humus Supervisor Module

Build Status Scrutinizer Code Quality Code Coverage License Latest Stable Version Latest Unstable Version Total Downloads Dependency Status, (*1)

Humus Supervisor Module is a module for Zend Framework 2 based on supervisord., (*2)

Dependencies

Installation

  1. Add "prolic/humus-supervisor-module": "dev-master" to your composer.json
  2. Run php composer.phar install
  3. Enable the module in your config/application.config.php by adding HumusSupervisorModule to modules

Configuration

Add this to your module configuration:, (*3)

``` php 'humus_supervisor_module' => array( 'my-supervisor' => array( 'host' => 'localhost', 'port' => 19005, 'username' => 'user', 'password' => '123' ) ), (*4)


Usage ----- Make use of your supervisor: ``` php $manager = $serviceManager->get('HumusSupervisorModule\SupervisorManager'); $supervisor = $manager->get('demo-supervisor'); $supervisor->isRunning();

Supervisord Installation

wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python
sudo easy_install supervisor

For configuration of supervisord see: http://supervisord.org/configuration.html, (*5)

start with, (*6)

supervisord

or to run no-daemon, (*7)

supervisord -n

The Versions