diff options
author | ivan <ivan> | 2009-02-22 20:12:13 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-02-22 20:12:13 +0000 |
commit | cc1efca8aecadb466e772f3bd15517c001375869 (patch) | |
tree | 5c11e74ca4d83848d3a19106ca8be6b26c1d48fd /bin/apache.export | |
parent | 027756090552715f79cd3a4de08ee73091ad99f0 (diff) |
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
Diffstat (limited to 'bin/apache.export')
-rwxr-xr-x | bin/apache.export | 5 |
1 files changed, 3 insertions, 2 deletions
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}; |