NAME

XAS::Apps::Base::Supctl - control program for the XAS Supervisor

SYNOPSIS

use XAS::Apps::Base::Supctl;

my $app = XAS::Apps::Base::Supctl->new(
    -options => [
        { 'host=s'   => 'localhost' },
        { 'port=s'   => '9505' }
        { 'start=s'  => undef },
        { 'stop=s'   => undef },
        { 'status=s' => undef },
        { 'reload=s' => undef }
    ]
);

exit $app->run();

DESCRIPTION

This module provides a simple control interface to the XAS Supervisor. This module inheirs from XAS::Lib::App.

CONFIGURATION

-options

This provides additional options. There format is what can be supplied to Getopt::Long. The defaults are the supplied values. Those values be can overridden on the command line.

'host=s'

This is the host that the supervisor resides on.

'port=s'

This is the port that it listens too.

'start=s'

Send a start request for the named process.

'stop=s'

Send a stop request for the named process.

'reload=s'

Send a reload request for the named process.

'status=s'

Send a status request for the named process.

SEE ALSO

bin/xas-supctl.pl
XAS

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.8 or, at your option, any later version of Perl 5 you may have available.