gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/deb-specific create-vhosts.sh, 1.6, 1.7 prepare-


From: cbayle
Subject: [Gforge-commits] gforge/deb-specific create-vhosts.sh, 1.6, 1.7 prepare-vhosts-file.pl, 1.5, 1.6
Date: Wed, 28 Jul 2004 08:27:58 -0500

Update of /cvsroot/gforge/gforge/deb-specific
In directory db.perdue.net:/tmp/cvs-serv1699/deb-specific

Modified Files:
        create-vhosts.sh prepare-vhosts-file.pl 
Log Message:
Repare vhost genration


Index: create-vhosts.sh
===================================================================
RCS file: /cvsroot/gforge/gforge/deb-specific/create-vhosts.sh,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- create-vhosts.sh    28 Mar 2004 19:49:29 -0000      1.6
+++ create-vhosts.sh    28 Jul 2004 13:27:53 -0000      1.7
@@ -3,6 +3,11 @@
 set -e
 
 su -s /bin/sh gforge -c /usr/lib/gforge/bin/prepare-vhosts-file.pl
+[ -f /var/lib/gforge/etc/templates/httpd.vhosts ] && \
+       /usr/lib/gforge/bin/fill-in-the-blanks.pl \
+               /var/lib/gforge/etc/templates/httpd.vhosts \
+               /var/lib/gforge/etc/httpd.vhosts \
+               /etc/gforge/gforge.conf
 if [ -x /usr/sbin/apache ]; then
     /usr/sbin/invoke-rc.d apache reload > /dev/null 2>&1
 fi

Index: prepare-vhosts-file.pl
===================================================================
RCS file: /cvsroot/gforge/gforge/deb-specific/prepare-vhosts-file.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- prepare-vhosts-file.pl      9 May 2004 14:24:50 -0000       1.5
+++ prepare-vhosts-file.pl      28 Jul 2004 13:27:53 -0000      1.6
@@ -26,7 +26,7 @@
 die "Cannot connect to database: $!" if ( ! $dbh );
 
 $ifile = '/etc/gforge/templates/httpd.vhosts' ;
-$ofile = '/var/lib/gforge/etc/httpd.vhosts' ;
+$ofile = '/var/lib/gforge/etc/templates/httpd.vhosts' ;
 
 open (IFILE, $ifile)
     or die "Can't open input file '$ifile'" ;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]