From: Chris Sharp Date: Wed, 23 Aug 2017 12:54:47 +0000 (-0400) Subject: Copy maintenance page to correct directory on Apache 2.4. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b4204767da8556a4cb68ee1cbd946909720b7bbb;p=contrib%2Fpines%2Fgenasys.git Copy maintenance page to correct directory on Apache 2.4. --- diff --git a/GenaSYS.sh b/GenaSYS.sh index acec20b..7162996 100755 --- a/GenaSYS.sh +++ b/GenaSYS.sh @@ -1646,7 +1646,7 @@ for LVS in $MACHINES_LVS_ONLY ### Configure the maintenance page on LVS servers - mkdir -p "$OUTDIR/$LVS/var/www" + mkdir -p "$OUTDIR/$LVS/var/www/html" if $(ls $CUSTOMDIR/maint_page |grep -q "index.html\|index.php") then echo;echo "Installing custom maintenance page on ${LVS}..." @@ -1654,9 +1654,9 @@ for LVS in $MACHINES_LVS_ONLY fi if [ "$CUSTOM_MAINT_PAGE_INDEX" = "y" ] then - cp -f $CUSTOMDIR/maint_page/* "$OUTDIR/$LVS/var/www/" + cp -f $CUSTOMDIR/maint_page/* "$OUTDIR/$LVS/var/www/html" else - cp -f $TEMPLATEDIR/lvs/maint_page/* "$OUTDIR/$LVS/var/www" + cp -f $TEMPLATEDIR/lvs/maint_page/* "$OUTDIR/$LVS/var/www/html" fi