--- lib/PXElator/httpd.pm 2009/07/30 22:55:08 71 +++ lib/PXElator/httpd.pm 2009/07/31 14:42:45 77 @@ -97,8 +97,10 @@ warn "start_stop $daemon $pid pids: ",dump( $pids ); if ( $pid =~ m{^\d+$} ) { - warn "kill 9 $pid"; - kill 9, $pid; + my $pstree = `pstree -p $pid`; + my @pids = $pstree =~ m{\((\d+)\)}g; + warn "pstree $pstree pids ",dump( @pids ); + kill 1, $_ foreach reverse @pids; $pids->{$daemon} = 'stopped'; return qq|$daemon pid $pid stopped|; } else { @@ -175,7 +177,11 @@ } } - print $client $ok, html::table( 2, @rows ), $debug_proc; + print $client $ok + , html::table( 2, @rows ) + , html::tabs( log::mac_changes ) + , $debug_proc + ; } elsif ( $path =~ m{^/our/(\w+)/(\S+)} ) { eval 'our $' . $1 . ' = ' . $2;