Lines Matching refs:pidfile
97 my $pidfile = $_[0];
100 if(-f $pidfile && -s $pidfile && open(my $pidfh, "<", "$pidfile")) {
241 my $pidfile = $_[0];
244 my $pid = pidfromfile($pidfile);
253 unlink($pidfile) if($pid == pidfromfile($pidfile));
364 my $pidfile;
375 $pidfile = mainsockf_pidfilename($piddir, $proto, $ipvnum, $idnum);
376 $pid = processexists($pidfile);
383 unlink($pidfile) if(-f $pidfile);
389 $pidfile = datasockf_pidfilename($piddir, $proto, $ipvnum, $idnum);
390 $pid = processexists($pidfile);
397 unlink($pidfile) if(-f $pidfile);