# (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@@";
&init_logging(); # Initialize logging contexts
-
-
-
-
-
# signal the current server is asked
if ( $restart || $kill ) {
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");
}
}