/[pxelator]/lib/PXElator/daemons.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/PXElator/daemons.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 481 by dpavlin, Tue Sep 8 17:30:47 2009 UTC revision 482 by dpavlin, Sat Jan 23 18:31:14 2010 UTC
# Line 7  use File::Slurp; Line 7  use File::Slurp;
7  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
8    
9  use x11;  use x11;
10  use CouchDB;  use store;
11    
12  our $pids;  our $pids;
13  $pids = {  $pids = {
# Line 29  $SIG{CHLD} = 'IGNORE'; Line 29  $SIG{CHLD} = 'IGNORE';
29  sub audit {  sub audit {
30          my $msg = shift;          my $msg = shift;
31          my $daemon = shift;          my $daemon = shift;
32          CouchDB::audit( $msg, $daemon, { daemon => $daemon, message => $msg, @_ } );          store::audit( $msg, $daemon, { daemon => $daemon, message => $msg, @_ } );
33  }  }
34    
35  mkdir "$server::conf/pid" unless -d "$server::conf/pid";  mkdir "$server::conf/pid" unless -d "$server::conf/pid";

Legend:
Removed from v.481  
changed lines
  Added in v.482

  ViewVC Help
Powered by ViewVC 1.1.26