# There are one or more update processes that listen for status updates
# from client programs.
-# $Id: spong-server.pl,v 1.52 2002/07/09 21:41:47 sljohnson Exp $
+# $Id: spong-server.pl,v 1.53 2002/07/09 22:41:23 sljohnson Exp $
use lib "@@LIBDIR@@";
sigprocmask(SIG_SETMASK, $sigset );
# Set up some signal handlers to handle our death gracefully, and also
- # listen for the HUP signal, and if we se that, we re-exec ourself.
+ # listen for the HUP signal, and if we see that, we re-exec ourself.
$SIG{'QUIT'} = \&exit_handler;
$SIG{'TERM'} = \&exit_handler;
# re-exec itself (which causes it to re-read it's configuration files.
if( already_running() ) {
- open( PID, "$SPONGTMP/spong-network.pid") || die "Can't find pid: $!";
+ open( PID, "$SPONGTMP/spong-server.pid") || die "Can't find pid: $!";
my $pid = <PID>; chomp $pid;
close PID;
&debug( "telling pid $pid to die" ); kill( 'QUIT', $pid );}
} else {
- debug("Can't find instance of spong-network running");
+ debug("Can't find instance of spong-server running");
}
}