[LON-CAPA-cvs] cvs: loncom / loncnew
foxr
lon-capa-cvs@mail.lon-capa.org
Tue, 23 Sep 2003 11:22:14 -0000
foxr Tue Sep 23 07:22:14 2003 EDT
Modified files:
/loncom loncnew
Log:
Tested ability to receive sigusr2 This is now logged and must be
properly implemented as a re-read of hosts and re-init of appropriate
children.
Index: loncom/loncnew
diff -u loncom/loncnew:1.24 loncom/loncnew:1.25
--- loncom/loncnew:1.24 Tue Sep 16 05:46:42 2003
+++ loncom/loncnew Tue Sep 23 07:22:14 2003
@@ -2,7 +2,7 @@
# The LearningOnline Network with CAPA
# lonc maintains the connections to remote computers
#
-# $Id: loncnew,v 1.24 2003/09/16 09:46:42 foxr Exp $
+# $Id: loncnew,v 1.25 2003/09/23 11:22:14 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -45,6 +45,11 @@
# Change log:
# $Log: loncnew,v $
+# Revision 1.25 2003/09/23 11:22:14 foxr
+# Tested ability to receive sigusr2 This is now logged and must be
+# properly implemented as a re-read of hosts and re-init of appropriate
+# children.
+#
# Revision 1.24 2003/09/16 09:46:42 foxr
# Added skeletal infrastructure to support SIGUSR2 update hosts request.
#
@@ -144,12 +149,6 @@
#
# Disable all signals we might receive from outside for now.
#
-#$SIG{QUIT} = IGNORE;
-#$SIG{HUP} = IGNORE;
-#$SIG{USR1} = IGNORE;
-#$SIG{INT} = IGNORE;
-#$SIG{CHLD} = IGNORE;
-#$SIG{__DIE__} = IGNORE;
# Read the httpd configuration file to get perl variables
@@ -1645,7 +1644,7 @@
=head1 UpdateKids
-parent's SIGUSR1 handler. This handler:
+parent's SIGUSR2 handler. This handler:
=item
@@ -1668,6 +1667,7 @@
=cut
sub UpdateKids {
+ Log("INFO", "Updating connections via SIGUSR2");
}