From: ivan Date: Sun, 22 Feb 2009 20:12:13 +0000 (+0000) Subject: add exportnum to apache export files so they all get preserved in the case where... X-Git-Tag: root_of_webpay_support~26 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=cc1efca8aecadb466e772f3bd15517c001375869 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 --- diff --git a/bin/apache.export b/bin/apache.export index da2d73c1c..82eb6d6b0 100755 --- a/bin/apache.export +++ b/bin/apache.export @@ -30,8 +30,9 @@ my $rsync = File::Rsync->new({ 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};