Update references to new git location
Changed Web-V2 config location to /etc/WebV2
This commit is contained in:
@@ -35,5 +35,5 @@ fi
|
||||
|
||||
#Storing vars to config
|
||||
for storeme in phpPoolDir phpPkgName phpMainConf phpFPMService phpVerBranch; do
|
||||
declare -p $storeme | cut -d ' ' -f 3- >> /etc/ICTM/phpvar.list
|
||||
declare -p $storeme | cut -d ' ' -f 3- >> /etc/WebV2/phpvar.list
|
||||
done
|
||||
@@ -1,7 +1,7 @@
|
||||
#Sript for setting up SSL/TLS for Postfix (Web-V2)
|
||||
|
||||
##Loading install vars
|
||||
source /etc/ICTM/mainvar.list
|
||||
source /etc/WebV2/mainvar.list
|
||||
##Checking if hostname cert exists
|
||||
if [ ! -f "/etc/acmesh/inst/$hostname/cert.pem" ] || [ ! -f "/etc/acmesh/inst/$hostname/key.pem" ] ; then echo 'SSL Certificate for $hostname is not installed' && exit ; fi
|
||||
|
||||
@@ -15,7 +15,7 @@ printf " [\e[1;32m Ok \e[0m]\n"
|
||||
|
||||
##Adding postfix to SSL services (so it gets reloaded when a the cert is renewd)
|
||||
printf "Updating SSL services list"
|
||||
echo "postfix" >> /etc/ICTM/SslServices
|
||||
echo "postfix" >> /etc/WebV2/SslServices
|
||||
printf " [\e[1;32m Ok \e[0m]\n"
|
||||
|
||||
##Remove script
|
||||
|
||||
@@ -95,7 +95,7 @@ curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/SubModules
|
||||
|
||||
#if using Append module run for existing cms/sites
|
||||
if [ "$itype" = "AddMod" ]; then
|
||||
for file in /etc/ICTM/sites/*; do
|
||||
for file in /etc/WebV2/sites/*; do
|
||||
sitename="${file##*/}"
|
||||
domain=${sitename//_/.}
|
||||
source <(curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/SubModules/postfix/CMSHook-preconf.sh)
|
||||
|
||||
@@ -10,4 +10,4 @@ elif [ "$shortdist" = "el8" ]; then
|
||||
fi
|
||||
|
||||
|
||||
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=redis osrel=$shortdist bash > $OUTPUT 2>&1
|
||||
curl --retry 7 --retry-delay 5 -s https://git.bprieshof.nl/Work/PKGRepoSetup/raw/branch/Main/Setup-Repo.sh |repo=redis osrel=$shortdist bash > $OUTPUT 2>&1
|
||||
Reference in New Issue
Block a user