[csw-devel] SF.net SVN: gar:[11781] csw/mgar/pkg/apache2/trunk/files/cswapache2

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sat Dec 4 19:25:13 CET 2010


Revision: 11781
          http://gar.svn.sourceforge.net/gar/?rev=11781&view=rev
Author:   bdwalton
Date:     2010-12-04 18:25:12 +0000 (Sat, 04 Dec 2010)

Log Message:
-----------
apache2: update init script for moved config files

Modified Paths:
--------------
    csw/mgar/pkg/apache2/trunk/files/cswapache2

Modified: csw/mgar/pkg/apache2/trunk/files/cswapache2
===================================================================
--- csw/mgar/pkg/apache2/trunk/files/cswapache2	2010-12-04 17:08:59 UTC (rev 11780)
+++ csw/mgar/pkg/apache2/trunk/files/cswapache2	2010-12-04 18:25:12 UTC (rev 11781)
@@ -12,9 +12,9 @@
 #RC_SLEV 3
 #FMRI network
 
-APACHE_HOME=/opt/csw/apache2
-CONF_FILE=$APACHE_HOME/etc/httpd.conf
-APACHECTL=$APACHE_HOME/sbin/apachectl
+CONF_FILE=/etc/opt/csw/apache2/httpd.conf
+APACHECTL=/opt/csw/apache2/sbin/apachectl
+SERVERCRT=/etc/opt/csw/apache2/server.crt
 
 [ ! -f "$CONF_FILE" ] && exit 0
 [ ! -x "$APACHECTL" ] && exit 0
@@ -22,7 +22,7 @@
 case "$1" in
 start)
     cmd=$1
-    if [ -f "$APACHE_HOME/etc/server.crt" ]; then
+    if [ -f "$SERVERCRT" ]; then
         cmd="$cmd -DSSL"
     fi
     ;;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list