From b873915b93c24f660b1b1ca6fcff4e6c12c14bc2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 25 Dec 2018 13:40:05 +0100 Subject: [PATCH] Updates in install scripts --- setup/functions | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup/functions b/setup/functions index 0696b3b8..924967ab 100644 --- a/setup/functions +++ b/setup/functions @@ -81,7 +81,7 @@ EOF fi installPrerequisities - installHttpd + installHttpd 443 443 443 createCertificates "${hostTrusted}" "${hostSandbox}" "${hostPublic}" "${email}" installHttpsProxy "${hostTrusted}" 443 "${hostSandbox}" 443 "${hostPublic}" 443 "/etc/letsencrypt/live/${hostPublic}/cert.pem" "/etc/letsencrypt/live/${hostPublic}/privkey.pem" "/etc/letsencrypt/live/${hostPublic}/chain.pem" installMailtrain "https://${hostTrusted}" "https://${hostSandbox}" "https://${hostPublic}" 127.0.0.1 true @@ -211,6 +211,10 @@ EOT function installHttpd { + local portTrusted="$1" + local portSandbox="$2" + local portPublic="$3" + case "$hostType" in centos7) yum -y install httpd mod_ssl