From: Stephen L Johnson Date: Mon, 17 Apr 2000 19:23:39 +0000 (+0000) Subject: added code to use new $SPONGSLEEP hash to determine $SPONGSLEEP time X-Git-Tag: spong-2_7-alpha5~10 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6030d67842a5b964e0abdc3afed76cf67a09c93f;p=spong.git added code to use new $SPONGSLEEP hash to determine $SPONGSLEEP time --- diff --git a/src/spong-network.pl b/src/spong-network.pl index 9c00b21..a529411 100755 --- a/src/spong-network.pl +++ b/src/spong-network.pl @@ -61,6 +61,11 @@ Spong::Daemon::Daemonize() # Daemonize if not signalling or a one-shot unless ($nosleep || $restart || $kill || $debug ); &handle_signals(); # Set up handlers, and signal the current server if asked +# Find our SPONGSLEEP value + +$SPONGSLEEP = $SPONGSLEEP{'spong-network'} || $SPONGSLEEP{'DEFAULT'} || + $SPONGSLEEP || 300; + %PLUGINS = {}; &config_funcs();