From c7e1ecdbc0e3f6ee88464f08515e7774684d2dc6 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Wed, 29 Jan 2003 22:47:57 +0000 Subject: [PATCH] Disabled --kill until runaway issues are fixed. --- src/spong-network.pl | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/spong-network.pl b/src/spong-network.pl index 58eff5a..68267a7 100755 --- a/src/spong-network.pl +++ b/src/spong-network.pl @@ -17,7 +17,7 @@ # (2) Converted checks to new plugin mechanism (Stephen Johnson May 28, 1999) # Added user-configurable escalation mechanism # -# $Id: spong-network.pl,v 1.45 2002/10/31 22:14:27 sljohnson Exp $ +# $Id: spong-network.pl,v 1.46 2003/01/29 22:47:57 sljohnson Exp $ use Carp; use lib "@@LIBDIR@@"; @@ -62,11 +62,6 @@ $HOST =~ tr/A-Z/a-z/; &init_logging(); # Initialize logging contexts - - - - - # signal the current server is asked if ( $restart || $kill ) { handle_signals(); @@ -540,12 +535,18 @@ sub handle_signals { close PID; if( $restart ) { - &debug( "telling pid $pid to restart" ); kill( 'HUP', $pid ); } +# &debug( "telling pid $pid to restart" ); kill( 'HUP', $pid ); } + print qq{ +--restart has been disabled due to a runaway process spawning problem. +Please use --kill to stop and restart spong-network. +}; + } + if( $kill ) { &debug( "telling pid $pid to die" ); kill( 'QUIT', $pid );} } else { - debug("Can't find instance of spong-network running"); + print ("Can't find instance of spong-network running\n"); } } -- 2.30.2