[LON-CAPA-cvs] cvs: loncom / loncron

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 06 Feb 2006 09:08:58 -0000


albertel		Mon Feb  6 04:08:58 2006 EDT

  Modified files:              
    /loncom	loncron 
  Log:
  - Pretty sure lonc only ever needs a USR2 now 
  
  
Index: loncom/loncron
diff -u loncom/loncron:1.65 loncom/loncron:1.66
--- loncom/loncron:1.65	Sat Jan 28 05:03:37 2006
+++ loncom/loncron	Mon Feb  6 04:08:56 2006
@@ -2,7 +2,7 @@
 
 # Housekeeping program, started by cron, loncontrol and loncron.pl
 #
-# $Id: loncron,v 1.65 2006/01/28 10:03:37 albertel Exp $
+# $Id: loncron,v 1.66 2006/02/06 09:08:56 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -707,9 +707,7 @@
 	}
 	my $args='new';
 	if ($oldlonc) { $args = ''; }
-	if ( &checkon_daemon($fh,'lonc',40000,'USR1',$args) eq 'running') {
-	    &checkon_daemon($fh,'lonc',40000,'USR2',$args);
-	}
+	&checkon_daemon($fh,'lonc',40000,'USR2',$args);
 	&checkon_daemon($fh,'lonhttpd',40000);
 	&checkon_daemon($fh,'lonmemcached',40000);
     }