NAME

App::Manoc::Script::Daemon

VERSION

version 2.99.4

METHODS

main

Just a place holder: this method MUST be overriden by actual daemon class.

run

The script entry point.

The following command lines are supported beside the one from MooseX::Daemonize and App::Manoc::Script.

  • -k or --stop to terminate the daemon

  • --status to get info

Process stay on foreground when started in debug mode.

drop_privileges

Set gid and uid according to user and group options. If defined call the before_set_user callback.

AUTHORS

  • Gabriele Mambrini <gmambro@cpan.org>

  • Enrico Liguori

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gabriele Mambrini.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.