Add backup support to nginx.conf.template files

This commit is contained in:
Jose Diaz-Gonzalez
2014-12-11 02:40:13 -05:00
parent 1d45ca0cdd
commit ae61ef3f1e
2 changed files with 4 additions and 0 deletions

View File

@@ -6,3 +6,4 @@ VERSION="$1"
BASE_DIR="$2"
cat; for i in $BASE_DIR/*/VHOST; do echo $i; done
cat; for i in $BASE_DIR/*/nginx.conf.template; do echo $i; done

View File

@@ -10,3 +10,6 @@ cd $IMPORT_DIR
for file in */VHOST; do
cp $file "$TARGET_DIR/$file"
done
for file in */nginx.conf.template; do
cp $file "$TARGET_DIR/$file"
done