perl-App-Rad-Plugin-Daemonize-0.1.7-alt1.noarch.rpm


Advertisement

Description

perl-App-Rad-Plugin-Daemonize - >run;

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-App-Rad-Plugin-Daemonize
Package version: 0.1.7
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 13.17 KB
Download size: 13.17 KB
Official Mirror: ftp.altlinux.org
If you reached here you probably know Rad, but if you don't, please take a quick look on App::Rad, it is the basis for this plugin, that helps you to make daemons very quickly. Let us show you the first test daemon : use App::Rad qw/Daemonize/; App::Rad->run; sub setup { my $c = shift; $c->daemonize(\&test, use_cmd_args => 1, stderr_logfile => "./test_err.log", stdout_logfile => "./test_out.log") } sub test { while(sleep 1){ print "OUT: ", $count++, $/; print { STDERR } "ERR: ", $count, $/; warn "WARN: ", $count++, $/; } } That's it!! We have our first example As you see, you have to care with the infinite repetition structure on your sub, it's just write the sub and daemonize it.

Alternatives

Requires

Provides

  • perl(App/Rad/Plugin/Daemonize.pm) = 0.001.007
  • perl-App-Rad-Plugin-Daemonize = 0.1.7-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-App-Rad-Plugin-Daemonize rpm package:
      # sudo apt-get install perl-App-Rad-Plugin-Daemonize

    Files

    • /usr/share/doc/perl-App-Rad-Plugin-Daemonize-0.1.7/Changes
    • /usr/share/doc/perl-App-Rad-Plugin-Daemonize-0.1.7/README
    • /usr/share/perl5/App/
    • /usr/share/perl5/App/Rad/
    • /usr/share/perl5/App/Rad/Plugin/Daemonize.pm
    Advertisement
    Advertisement