App::Daemon

Start an Application as a Daemon
Download

App::Daemon Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Michael Schilli
  • Publisher web site:
  • http://search.cpan.org/~mschilli/

App::Daemon Tags


App::Daemon Description

App::Daemon is a Perl module that helps running an application as a daemon. The idea is that you prepend your script with the use App::Daemon qw( daemonize ); daemonize();and 'daemonize' it that way. That means, that if you write use App::Daemon qw( daemonize ); daemonize(); sleep(10);you'll get a script that, when called from the command line, returns immediatly, but continues to run as a daemon for 10 seconds.SYNOPSIS # Program: use App::Daemon qw( daemonize ); daemonize(); do_something_useful(); # your application # Then, in the shell: start application, # which returns immediately, but continues # to run do_something_useful() in the background $ app start $ # stop application $ app stop # start app in foreground (for testing) $ app -X # show if app is currently running $ app statusProduct's homepage


App::Daemon Related Software