version 1.34, 2002/10/29 20:21:32
|
version 1.35, 2002/11/27 17:14:26
|
Line 633 if (-e $lonhttpdfile) {
|
Line 633 if (-e $lonhttpdfile) {
|
my $lonhttpdpid=<$lfh>; |
my $lonhttpdpid=<$lfh>; |
chomp($lonhttpdpid); |
chomp($lonhttpdpid); |
if (kill 0 => $lonhttpdpid) { |
if (kill 0 => $lonhttpdpid) { |
print $fh "<h3>lonhttpd at pid $lonhttpdpid responding, sending USR1</h3>"; |
print $fh "<h3>lonhttpd at pid $lonhttpdpid responding</h3>"; |
kill USR1 => $lonhttpdpid; |
|
$restartflag=0; |
$restartflag=0; |
} else { |
} else { |
$errors++; |
$errors++; |