[freeside-commits] freeside/bin apache.export,1.9,1.10

Ivan,,, ivan at wavetail.420.am
Sun Feb 22 12:12:15 PST 2009


Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv9160

Modified Files:
	apache.export 
Log Message:
add exportnum to apache export files so they all get preserved in the case where you're using multiple apache exports to the same machine, RT#4901

Index: apache.export
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/apache.export,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- apache.export	20 Jul 2007 19:58:34 -0000	1.9
+++ apache.export	22 Feb 2009 20:12:13 -0000	1.10
@@ -30,8 +30,9 @@
 
 foreach my $export ( @exports ) {
 
-  my $machine = $export->machine;
-  my $file = "$spooldir/$machine.conf";
+  my $machine   = $export->machine;
+  my $exportnum = $export->exportnum;
+  my $file = "$spooldir/$machine.exportnum$exportnum.conf";
 
   warn "exporting apache configuration for $machine to $file\n"
     if $opt{d};



More information about the freeside-commits mailing list