Lines Matching refs:pidfile
39 my $pidfile = $_[0];
42 if(-f $pidfile && -s $pidfile && open(PIDFH, "<$pidfile")) {
132 my $pidfile = $_[0];
135 my $pid = pidfromfile($pidfile);
144 unlink($pidfile) if($pid == pidfromfile($pidfile));
253 my $pidfile;
264 $pidfile = mainsockf_pidfilename($proto, $ipvnum, $idnum);
265 $pid = processexists($pidfile);
272 unlink($pidfile) if(-f $pidfile);
278 $pidfile = datasockf_pidfilename($proto, $ipvnum, $idnum);
279 $pid = processexists($pidfile);
286 unlink($pidfile) if(-f $pidfile);