NAME
XAS::Supervisor::Controller - Controls the XAS Supervisor environment
SYNOPSIS
my $supervisor = XAS::Supervisor::Controller->new(
-alias => 'supervisor',
-logger => 'logger',
-port => 9505,
-address => '127.0.0.1',
-processes => XAS::Supervisor::Factory->load(
-cfgfile => 'supervisor.ini',
-supervisor => 'supervisor'
)
);
$poe_kernel->run();
DESCRIPTION
This module is designed to control multiple managed processes. It will attempt to keep them running. Additionally it will shut them down when the supervisor is signalled to stop. The following signals will start the shutdown actions:
INT
TERM
HUP
QUIT
ABRT
Optionally it can allow external agents access, so that they can interact with the managed processes thru a RPC mechaniasm. This module inherits from XAS::Lib::RPC::JSON::Server.
PARAMETERS
SEE ALSO
AUTHOR
Kevin L. Esteb, <kevin@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (C) 2013 by Kevin L. Esteb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.