Componette

Componette

download-cloud-line composer require pd/supervisor

Supervisor

Supervisor configuration with console commands for nette applications.

Downloads total Build Status Latest Stable Version

Installation

The best way to install PeckaDesign/Supervisor is using Composer:

$ composer require pd/supervisor

Configuration

Enable extension in your application configuration:

extensions:
	supervisor: Pd\Supervisor\DI\SupervisorExtension

Now you can configure your supervisor.

supervisor:
	prefix: my-project #prefixes every named section

	defaults:
		program:
			autorestart: on

	configuration:
		group:
			group-name:
				programs:
					- program-name
		program:
			program-name:
				command: moo

Commands

RenderCommand

Renders supervisor configuration

$ php www/index.php supervisor:render

WriteCommand

Writes supervisor configuration to file

$ php www/index.php supervisor:write supervisor.conf

Optionally you can merge configuration sections to existing configuration file

$ php www/index.php supervisor:write supervisor.conf -m
  • v1.3.0 Podpora Nette 3.0

    Release zaroven podporuje Nette 2.4 a 3.0

    PR: #6

  • v1.2.0 Automatické přiřazení consumerů projektu do skupiny

    PR: #4
    PR GWs: https://github.com/peckadesign/GlobalWines2018/pull/2144

    Klic prefix v configu je vyzadovan - jeho hodota by mela byt unikatni napric vsemi projekty i jazykovymi mutacemi.
    Toto zpusobi, ze procesy v supervisoru budou mit unikatni nazev napric projekty. Diky toho budou spravne fungovat skupiny consumeru.

  • v1.1.0 v1.1.0

    PR: #5

    Povyseni na php 7.4

    • Aktualizace phpstanu
    • Odstraneni podpory php 7.0
    • Nastaveni minimalnich verzi balicku v composer.json
    • Oprava phpstan chyb
  • v1.0.1 v1.0.1

    Extension: named sections prefix

  • v1.0.0 v1.0.0

    Initial release

Componette Componette felix@nette.org