The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

xas-testd - a simple example micro service

SYNOPSIS

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

DESCRIPTION

This procedure is a simple example for micro services.

CONFIGURATION

Please refer to XAS::Apps::Service::Testd for configuration file information.

OPTIONS AND ARGUMENTS

--help

Displays a simple help message.

--debug

Turns on debbuging.

--alerts

Togggles alert notification.

--manual

The complete documentation.

--version

Prints out the apps version

--facility

This changs the alerts facility, It overrides the defaults.

--priority

This changes the alerts priority. It overrides the defaults.

--log-type

Toggles the log type. Defaults to 'console'. Can be 'console', 'file', 'json' or 'syslog'.

--log-file

Optional logfile. When specified the log type is set to 'file'.

--log-facility

Toggles the log facilty. Defaults to 'local6'. This follows syslog convention.

EXIT CODES

 0 - success
 1 - failure
 2 - already running

SEE ALSO

XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

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.