Lines Matching refs:pidfile

378     my ($cmd, $pidfile, $timeout, $fakepidfile)=@_;
406 if(open(my $out, ">", "$pidfile")) {
409 logmsg "startnew: $pidfile faked with pid=$child\n" if($verbose);
412 logmsg "startnew: failed to write fake $pidfile with pid=$child\n";
425 $pid2 = pidfromfile($pidfile);
523 my $pidfile = $serverpidfile{$server};
524 unlink($pidfile) if(-f $pidfile);
792 my $pidfile = server_pidfilename("$LOGDIR/$PIDDIR", $proto, $ipvnum,
794 my $pid = processexists($pidfile);
847 my $pidfile = server_pidfilename("$LOGDIR/$PIDDIR", $proto, $ipvnum,
902 if($data && ($data =~ /(GNUTLS|GnuTLS)/) && ($pid = processexists($pidfile))) {
925 my $pidfile = server_pidfilename("$LOGDIR/$PIDDIR", $proto, $ipvnum,
927 my $pid = processexists($pidfile);
939 my $pidfile = server_pidfilename("$LOGDIR/$PIDDIR", $proto, $ipvnum,
941 my $pid = processexists($pidfile);
1177 my $pidfile = $serverpidfile{$server};
1180 if ($doesntrun{$pidfile}) {
1184 my $pid = processexists($pidfile);
1188 unlink($pidfile) if(-f $pidfile);
1200 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
1213 my ($httppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1219 $doesntrun{$pidfile} = 1;
1235 $doesntrun{$pidfile} = 1;
1261 my $pidfile = $serverpidfile{$server};
1264 if ($doesntrun{$pidfile}) {
1268 my $pid = processexists($pidfile);
1272 unlink($pidfile) if(-f $pidfile);
1279 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
1288 my ($http2pid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1293 $doesntrun{$pidfile} = 1;
1298 $doesntrun{$pidfile} = 0;
1322 my $pidfile = $serverpidfile{$server};
1325 if ($doesntrun{$pidfile}) {
1329 my $pid = processexists($pidfile);
1333 unlink($pidfile) if(-f $pidfile);
1340 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
1349 my ($http3pid, $pid3) = startnew($cmd, $pidfile, 15, 0);
1354 $doesntrun{$pidfile} = 1;
1359 $doesntrun{$pidfile} = 0;
1388 my $pidfile = $serverpidfile{$server};
1391 if ($doesntrun{$pidfile}) {
1395 my $pid = processexists($pidfile);
1399 unlink($pidfile) if(-f $pidfile);
1407 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
1427 my ($httpspid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1433 $doesntrun{$pidfile} = 1;
1439 $doesntrun{$pidfile} = 0;
1466 my $pidfile = $serverpidfile{$server};
1469 if ($doesntrun{$pidfile}) {
1473 my $pid = processexists($pidfile);
1477 unlink($pidfile) if(-f $pidfile);
1492 my ($httptlspid, $pid2) = startnew($cmd, $pidfile, 10, 1);
1497 $doesntrun{$pidfile} = 1;
1502 $doesntrun{$pidfile} = 0;
1528 my $pidfile = $serverpidfile{$server};
1532 if ($doesntrun{$pidfile}) {
1536 my $pid = processexists($pidfile);
1540 unlink($pidfile) if(-f $pidfile);
1547 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
1555 my ($ftppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1561 $doesntrun{$pidfile} = 1;
1576 $doesntrun{$pidfile} = 1;
1604 my $pidfile = $serverpidfile{$server};
1607 if ($doesntrun{$pidfile}) {
1611 my $pid = processexists($pidfile);
1615 unlink($pidfile) if(-f $pidfile);
1623 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
1635 my ($protospid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1641 $doesntrun{$pidfile} = 1;
1647 $doesntrun{$pidfile} = 0;
1675 my $pidfile = $serverpidfile{$server};
1678 if ($doesntrun{$pidfile}) {
1682 my $pid = processexists($pidfile);
1686 unlink($pidfile) if(-f $pidfile);
1694 $flags .= "--pidfile \"$pidfile\" ";
1702 my ($tftppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1708 $doesntrun{$pidfile} = 1;
1720 $doesntrun{$pidfile} = 1;
1751 my $pidfile = $serverpidfile{$server};
1755 if ($doesntrun{$pidfile}) {
1759 my $pid = processexists($pidfile);
1763 unlink($pidfile) if(-f $pidfile);
1770 $flags .= "--pidfile \"$pidfile\" ";
1778 my ($rtsppid, $pid2) = startnew($cmd, $pidfile, 15, 0);
1784 $doesntrun{$pidfile} = 1;
1796 $doesntrun{$pidfile} = 1;
1826 my $pidfile = $serverpidfile{$server};
1829 if ($doesntrun{$pidfile}) {
1839 my $pid = processexists($pidfile);
1843 unlink($pidfile) if(-f $pidfile);
1851 $flags .= "--pidfile \"$pidfile\" ";
1865 my ($sshpid, $pid2) = startnew($cmd, $pidfile, 60, 0);
1874 $doesntrun{$pidfile} = 1;
1896 $doesntrun{$pidfile} = 1;
1902 $doesntrun{$pidfile} = 0;
1943 my $pidfile = $serverpidfile{$server};
1947 if ($doesntrun{$pidfile}) {
1951 my $pid = processexists($pidfile);
1955 unlink($pidfile) if(-f $pidfile);
1963 " --pidfile $pidfile".
1968 my ($sockspid, $pid2) = startnew($cmd, $pidfile, 30, 0);
1974 $doesntrun{$pidfile} = 1;
1999 my $pidfile = $serverpidfile{$server};
2002 if ($doesntrun{$pidfile}) {
2006 my $pid = processexists($pidfile);
2010 unlink($pidfile) if(-f $pidfile);
2020 " --pidfile $pidfile".
2029 " --pidfile $pidfile".
2036 my ($sockspid, $pid2) = startnew($cmd, $pidfile, 30, 0);
2042 $doesntrun{$pidfile} = 1;
2071 my $pidfile = $serverpidfile{$server};
2074 if ($doesntrun{$pidfile}) {
2078 my $pid = processexists($pidfile);
2082 unlink($pidfile) if(-f $pidfile);
2089 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
2097 my ($dictpid, $pid2) = startnew($cmd, $pidfile, 15, 0);
2102 $doesntrun{$pidfile} = 1;
2107 $doesntrun{$pidfile} = 0;
2132 my $pidfile = $serverpidfile{$server};
2135 if ($doesntrun{$pidfile}) {
2139 my $pid = processexists($pidfile);
2143 unlink($pidfile) if(-f $pidfile);
2150 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
2158 my ($smbpid, $pid2) = startnew($cmd, $pidfile, 15, 0);
2163 $doesntrun{$pidfile} = 1;
2168 $doesntrun{$pidfile} = 0;
2193 my $pidfile = $serverpidfile{$server};
2196 if ($doesntrun{$pidfile}) {
2200 my $pid = processexists($pidfile);
2204 unlink($pidfile) if(-f $pidfile);
2211 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
2218 my ($ntelpid, $pid2) = startnew($cmd, $pidfile, 15, 0);
2223 $doesntrun{$pidfile} = 1;
2228 $doesntrun{$pidfile} = 0;
3031 my $pidfile = $serverpidfile{$server};
3032 my $pid = processexists($pidfile);
3044 unlink($pidfile) if(-f $pidfile);