xas-testd - a simple example micro service
xas-testd [--help] [--debug] [--manual] [--version]
options: --help outputs simple help text --debug toogles debugging output --alerts toogles alert notifications --manual outputs the procedures manual --version outputs the apps version --facility change the alerts facility --priority change the alerts priority --log-file name of the log file --log-type toggles the log type --log-facility changes the log facility
This procedure is a simple example for micro services.
Please refer to XAS::Apps::Service::Testd for configuration file information.
Displays a simple help message.
Turns on debbuging.
Togggles alert notification.
The complete documentation.
Prints out the apps version
This changs the alerts facility, It overrides the defaults.
This changes the alerts priority. It overrides the defaults.
Toggles the log type. Defaults to 'console'. Can be 'console', 'file', 'json' or 'syslog'.
Optional logfile. When specified the log type is set to 'file'.
Toggles the log facilty. Defaults to 'local6'. This follows syslog convention.
0 - success 1 - failure 2 - already running
Kevin L. Esteb, <kevin@kesteb.us>
Copyright (c) 2012-2016 Kevin L. Esteb
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.
To install XAS::Service, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAS::Service
CPAN shell
perl -MCPAN -e shell install XAS::Service
For more information on module installation, please visit the detailed CPAN module installation guide.