# There are one or more update processes that listen for status updates
# from client programs.
-# $Id: spong-server.pl,v 1.29 2000/09/27 04:05:42 sljohnson Exp $
+# $Id: spong-server.pl,v 1.30 2000/11/06 19:31:53 sljohnson Exp $
use lib "@@LIBDIR@@";
($HOST) = gethostbyname(&Sys::Hostname::hostname());
$HOST =~ tr/A-Z/a-z/;
-# Find our SPONGSLEEP value
-
-$SPONGSLEEP = $SPONGSLEEP{'spong-server'} || $SPONGSLEEP{'DEFAULT'} ||
- $SPONGSLEEP || 300;
-
-
%DATAFUNCS = ();
&load_data_funcs();
Spong::Daemon::Daemonize() unless ($debug || $restart || $kill) ;
&handle_signals(); # Set up handlers, and signal the current server if asked
+# Find our SPONGSLEEP value
+
+$SPONGSLEEP = $SPONGSLEEP{'spong-server'} || $SPONGSLEEP{'DEFAULT'} ||
+ $SPONGSLEEP || 300;
+
# Determine all of the update processes that will need to be running
$PROCS{'query'} = { func => \&listen_for_queries, pid => undef };