pd/supervisor

Supervisor configuration with console commands for nette applications

Installs: 158 965

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 16

Forks: 3

Open Issues: 1

pkg:composer/pd/supervisor

v4.0.1 2025-10-14 10:20 UTC

This package is auto-updated.

Last update: 2025-10-14 10:23:17 UTC


README

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