Searched refs:pidfile (Results 1 – 14 of 14) sorted by relevance
/curl/tests/ |
H A D | processhelp.pm | 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); 390 $pid = processexists($pidfile); [all …]
|
H A D | servers.pm | 1188 unlink($pidfile) if(-f $pidfile); 1272 unlink($pidfile) if(-f $pidfile); 1333 unlink($pidfile) if(-f $pidfile); 1399 unlink($pidfile) if(-f $pidfile); 1477 unlink($pidfile) if(-f $pidfile); 1540 unlink($pidfile) if(-f $pidfile); 1615 unlink($pidfile) if(-f $pidfile); 1686 unlink($pidfile) if(-f $pidfile); 1763 unlink($pidfile) if(-f $pidfile); 1843 unlink($pidfile) if(-f $pidfile); [all …]
|
H A D | tftpserver.pl | 48 my $pidfile; 61 $pidfile = $ARGV[1]; 119 if(!$pidfile) { 120 $pidfile = server_pidfilename($path, $proto, $ipvnum, $idnum); 126 $flags .= "--pidfile \"$pidfile\" ".
|
H A D | rtspserver.pl | 48 my $pidfile; # rtsp server pid file 60 $pidfile = $ARGV[1]; 119 if(!$pidfile) { 120 $pidfile = server_pidfilename($path, $proto, $ipvnum, $idnum); 129 $flags .= "--pidfile \"$pidfile\" ".
|
H A D | secureserver.pl | 66 my $pidfile; # stunnel pid file 158 $pidfile = "$path/". $ARGV[1]; 183 if($pidfile) { 185 $piddir = dirname($pidfile); 190 $pidfile = server_pidfilename($piddir, $proto, $ipvnum, $idnum); 262 $cmd = "\"$stunnel\" -p $certfile -P $pidfile "; 270 print "pid file: $pidfile\n"; 306 print $stunconf "pid = $pidfile\n"; 333 print "pid = $pidfile\n"; 355 if(open(my $out, ">", "$pidfile")) {
|
H A D | http-server.pl | 51 my $pidfile; # pid file 68 $pidfile = $ARGV[1]; 155 if($pidfile) { 157 $piddir = dirname($pidfile); 162 $pidfile = server_pidfilename($piddir, $proto, $ipvnum, $idnum); 174 $flags .= "--pidfile \"$pidfile\" ".
|
H A D | http2-server.pl | 33 my $pidfile = "$logdir/nghttpx.pid"; 52 $pidfile = $ARGV[1]; 116 "--pid-file=$pidfile ".
|
H A D | http3-server.pl | 34 my $pidfile = "$logdir/nghttpx.pid"; 52 $pidfile = $ARGV[1]; 116 "--pid-file=$pidfile ".
|
H A D | dictserver.py | 54 if options.pidfile: 59 with open(options.pidfile, "w") as f: 182 if options.pidfile and os.path.isfile(options.pidfile): 183 os.unlink(options.pidfile)
|
H A D | sshserver.pl | 102 my $pidfile; # ssh daemon pid file 174 $pidfile = "$path/". $ARGV[1]; 205 if($pidfile) { 207 $piddir = dirname($pidfile); 212 $pidfile = server_pidfilename($piddir, $proto, $ipvnum, $idnum); 468 $pidfile_config = pathhelp::sys_native_abs_path($pidfile); 476 $pidfile_config = pathhelp::build_sys_abs_path($pidfile); 483 $pidfile_config = $pidfile; 1179 if(open(my $out, ">", "$pidfile")) {
|
H A D | negtelnetserver.py | 54 if options.pidfile: 59 with open(options.pidfile, "w") as f: 365 if options.pidfile and os.path.isfile(options.pidfile): 366 os.unlink(options.pidfile)
|
H A D | smbserver.py | 111 if options.pidfile: 116 with open(options.pidfile, "w") as f: 449 if options.pidfile and os.path.isfile(options.pidfile): 450 os.unlink(options.pidfile)
|
H A D | ftpserver.pl | 113 my $pidfile; # server pid file name 210 unlink($pidfile); 385 unlink($pidfile); 400 unlink($pidfile); 430 unlink($pidfile); 3000 $pidfile = $ARGV[1]; 3059 if($pidfile) { 3061 $piddir = dirname($pidfile); 3111 open(my $pid, ">", "$pidfile"); 3115 logmsg("logged pid $$ in $pidfile\n"); [all …]
|
/curl/tests/server/ |
H A D | util.c | 296 FILE *pidfile; in write_pidfile() local 300 pidfile = fopen(filename, "wb"); in write_pidfile() 301 if(!pidfile) { in write_pidfile() 305 fprintf(pidfile, "%" CURL_FORMAT_CURL_OFF_T "\n", pid); in write_pidfile() 306 fclose(pidfile); in write_pidfile()
|
Completed in 27 milliseconds