Home
last modified time | relevance | path

Searched refs:pidfile (Results 1 – 14 of 14) sorted by relevance

/curl/tests/
H A Dprocesshelp.pm97 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 Dservers.pm1188 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 Dtftpserver.pl48 my $pidfile;
61 $pidfile = $ARGV[1];
119 if(!$pidfile) {
120 $pidfile = server_pidfilename($path, $proto, $ipvnum, $idnum);
126 $flags .= "--pidfile \"$pidfile\" ".
H A Drtspserver.pl48 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 Dsecureserver.pl66 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 Dhttp-server.pl51 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 Dhttp2-server.pl33 my $pidfile = "$logdir/nghttpx.pid";
52 $pidfile = $ARGV[1];
116 "--pid-file=$pidfile ".
H A Dhttp3-server.pl34 my $pidfile = "$logdir/nghttpx.pid";
52 $pidfile = $ARGV[1];
116 "--pid-file=$pidfile ".
H A Ddictserver.py54 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 Dsshserver.pl102 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 Dnegtelnetserver.py54 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 Dsmbserver.py111 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 Dftpserver.pl113 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 Dutil.c296 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 26 milliseconds