Changeset 117 for trunk

Show
Ignore:
Timestamp:
04/14/10 16:56:17 (9 years ago)
Author:
depesz
Message:

Copy Proc::Pidfile to OmniPITR::Pidfile with small change to remove dependency on another module, and change code to use OmniPITR::Pidfile instead of Proc::Pidfile

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/omnipitr/lib/OmniPITR/Program.pm

    r115 r117  
    44use OmniPITR::Log; 
    55use English qw( -no_match_vars ); 
    6 use Proc::Pidfile; 
     6use OmniPITR::Pidfile; 
    77use Carp; 
    88 
     
    2424    $self->read_args(); 
    2525    $self->validate_args(); 
    26     $self->{ 'pid-file' } = Proc::Pidfile->new( 'pidfile' => $self->{ 'pid-file' } ) if $self->{ 'pid-file' }; 
     26    $self->{ 'pid-file' } = OmniPITR::Pidfile->new( 'pidfile' => $self->{ 'pid-file' } ) if $self->{ 'pid-file' }; 
    2727 
    2828    return $self;