ControlFreak

 view release on metacpan or  search on metacpan

bin/cfkd  view on Meta::CPAN


my $log_config_file = $options{log_config_file};
if (! $log_config_file) {
    ## look at the default location and create it if it doesn't exist
    $log_config_file = File::Spec->catfile($home, "log.config");
    unless (-f $log_config_file) {
        open LC, ">$log_config_file"
            or croak "Cannot create $log_config_file: $!";
        print LC ${ ControlFreak::Logger->default_config };
        close LC;
        chmod 0622, $log_config_file;
    }
}

daemonize() if $options{daemon};

my $unix = ControlFreak::Util::parse_unix($options{address});

my $host;
my $service;
if ($unix) {

lib/ControlFreak/Tutorial.pod  view on Meta::CPAN


=back

=head2 cpanm

Other instructions will come later, when ControlFreak will be on CPAN.

  # install cpanm (see App::cpanminus documentation for details)
  cd ~/bin
  wget http://xrl.us/cpanm
  chmod +x cpan

  ## install cpan version
  cpanm ControlFreak

  ## install bleeding edge
  cpanm http://github.com/yannk/ControlFreak/tarball/master

=head1 BASICS

When ControlFreak daemon C<cfkd> is started, it opens a management socket



( run in 0.315 second using v1.01-cache-2.11-cpan-8d75d55dd25 )