NAME

transalert_ctl - Command line daemon for Transform::Alert

SYNOPSIS

   transalert_ctl {start|stop|status}? [OPTION]...

   Controls the Transform::Alert daemon.

   Control commands:
      start      Start up the daemon.  Default action if not specified.
      stop       Stop the daemon.  Typically requires a -p option.
      status     Print out diagnostics on what the status of the daemon is.  Typically requires a -p option.

   Options:
      -c FILE    Loads FILE for configuration.  Required to start the daemon.
      -X         Foreground mode.  Log messages go to the screen.
      -l FILE    Sends Log4perl messages to FILE in background mode.  Defaults to ./transalert_ctl.log.
      -p FILE    Writes PID to FILE.  Defaults to ./transalert_ctl.pid.
      -u USER    Run as USER.  Only applies if running as root.  Defaults to 'nobody'.
      -l4p FILE  Loads FILE for Log4perl configuration.
      -v         Debug mode.  Ignored if -l4p option is specified.
      -vv        Trace mode.  Ignored if -l4p option is specified.

DESCRIPTION

Most of this stuff is pretty obvious. App::Daemon also has some useful information about the CLI options.

CAVEATS

The -l and -p options should really have config file equivalents...

Double -v options don't combine into -vv.

AVAILABILITY

The project homepage is https://github.com/SineSwiper/Transform-Alert/wiki.

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see https://metacpan.org/module/Transform::Alert/.

AUTHOR

Brendan Byrd <BBYRD@CPAN.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Brendan Byrd.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)