2017 © Pedro Peláez
 

library invoker-bundle

Manage server processes in your Symfony development environment

image

bangpound/invoker-bundle

Manage server processes in your Symfony development environment

  • Thursday, September 25, 2014
  • by bangpound
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Invoker Bundle

This bundle imitates some of the functionality of invoker to run services in development environments., (*1)

Usage

Enable the bundle in your kernel., (*2)

``` php <?php // app/AppKernel.php, (*3)

public function registerBundles() { $bundles = array( // ... new Bangpound\Bundle\InvokerBundle\BangpoundInvokerBundle(), ); }, (*4)


Create ProcessBuilder services for each process this bundle should launch. ```yaml bangpound_castle.process.elasticsearch: class: Bangpound\Bundle\InvokerBundle\Process\ProcessBuilder arguments: [ ["/usr/local/bin/elasticsearch", "--config=/usr/local/opt/elasticsearch/config/elasticsearch.yml"] ] calls: - [ setTimeout, [ ~ ]] tags: - { name: bangpound_invoker.server } bangpound_castle.process.couchdb: class: Bangpound\Bundle\InvokerBundle\Process\ProcessBuilder arguments: [ ["couchdb" ] ] calls: - [ setTimeout, [ ~ ]] tags: - { name: bangpound_invoker.server } bangpound_castle.process.rabbitmq: class: Bangpound\Bundle\InvokerBundle\Process\ProcessBuilder arguments: [ ["rabbitmq-server"] ] calls: - [ setTimeout, [ ~ ]] tags: - { name: bangpound_invoker.server }

Then run the Symfony console command invoker., (*5)

./bin/console invoker -vv

Using the verbosity flags will cause process output to be logged to the console, which is usually desireable., (*6)

This is a bundle that should only be used for development environments. Do not use this bundle in production. Instead use your operating system's service initialization such as systemd or init.d and/or use supervisord., (*7)

The Versions

25/09 2014

dev-master

9999999-dev

Manage server processes in your Symfony development environment

  Sources   Download

MIT

The Requires