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


Advertisement

Description

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

Property Value
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

Package Version Architecture Repository
perl-App-Rad-Plugin-Daemonize - - -

Requires

Name Value
/usr/share/perl5 -
perl(File/Temp.pm) -
perl(POSIX.pm) -
rpmlib(PayloadIsLzma) -

Provides

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

Download

Type URL
Binary Package perl-App-Rad-Plugin-Daemonize-0.1.7-alt1.noarch.rpm
Source Package perl-App-Rad-Plugin-Daemonize-0.1.7-alt1.src.rpm

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

Path
/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

See Also

Package Description
perl-App-Rad-Plugin-MoreHelp-0.0001-alt1.noarch.rpm App::Rad plugin for providing extra help info
perl-App-Rad-Plugin-ReadLine-0.002-alt1.noarch.rpm App::Rad::Plugin::ReadLine a Term::UI ->shell for Rad Apps
perl-App-Rad-Plugin-TT-0.2-alt1.noarch.rpm perl module App-Rad-Plugin-TT
perl-App-Rad-Plugin-ValuePriority-0.02-alt1.noarch.rpm A Plugin to make it easy to get value from all acessors
perl-App-Randf-0.02-alt1.noarch.rpm random filter for STDIN
perl-App-Randf-scripts-0.02-alt1.noarch.rpm App-Randf scripts
perl-App-Rangeops-0.1.1-alt1.noarch.rpm operates ranges and links of ranges on chromosomes
perl-App-Raps2-0.54-alt1_4.noarch.rpm Password class for App::Raps2
perl-App-Rcsync-0.03-alt1.noarch.rpm Sync configuration files across machines
perl-App-Rcsync-scripts-0.03-alt1.noarch.rpm App-Rcsync scripts
perl-App-RedisTop-0.03-alt2.noarch.rpm Redis resource statistics tool
perl-App-RedisTop-scripts-0.03-alt2.noarch.rpm App-RedisTop scripts
perl-App-RegexFileUtils-0.08-alt1.noarch.rpm use regexes with file utils like rm, cp, mv, ln
perl-App-RegexFileUtils-scripts-0.08-alt1.noarch.rpm App-RegexFileUtils scripts
perl-App-RegexpCommonUtils-0.002-alt1.noarch.rpm CLI utilities related to Regexp::Common
Advertisement
Advertisement