[LON-CAPA-cvs] cvs: loncom /init.d loncontrol

albertel lon-capa-cvs-allow@mail.lon-capa.org
Sat, 02 Jun 2007 03:40:05 -0000


albertel		Fri Jun  1 23:40:05 2007 EDT

  Modified files:              
    /loncom/init.d	loncontrol 
  Log:
  - add in header to loncontrol to get it to start after mysql/apache
  
  
Index: loncom/init.d/loncontrol
diff -u loncom/init.d/loncontrol:1.30 loncom/init.d/loncontrol:1.31
--- loncom/init.d/loncontrol:1.30	Thu May 31 01:20:06 2007
+++ loncom/init.d/loncontrol	Fri Jun  1 23:40:02 2007
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 #
-# $Id: loncontrol,v 1.30 2007/05/31 05:20:06 albertel Exp $
+# $Id: loncontrol,v 1.31 2007/06/02 03:40:02 albertel Exp $
 #
 # The LearningOnline Network with CAPA
 #
@@ -37,6 +37,16 @@
 # config: /etc/httpd/conf/loncapa.conf
 # config: /home/httpd/lonTabs/hosts.tab
 # config: /home/httpd/lonTabs/spare.tab
+# SuSE chkconfig/insserv info
+### BEGIN INIT INFO
+# Provides:       loncapa
+# Required-Start: mysql apache2 $network $remote_fs
+# Required-Stop:
+# Default-Start:  3 4 5
+# Default-Stop:
+# Description:    Starts the LON-CAPA services
+### END INIT INFO
+
 
 $command=$ARGV[0]; $command=~s/[^a-z]//g;