From be2cf222d965f7b0166ce237a91733c1d70c457d Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Thu, 15 Oct 2020 14:29:21 +0200 Subject: [PATCH] fixed apache output --- CoreModules/apache/conf.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CoreModules/apache/conf.sh b/CoreModules/apache/conf.sh index c3f67f6..0476782 100644 --- a/CoreModules/apache/conf.sh +++ b/CoreModules/apache/conf.sh @@ -1,12 +1,12 @@ -systemctl stop apache2 +systemctl stop apache2 > $OUTPUT 2>&1 ############## # Apache # ############## -a2dissite 000-default -a2dismod mpm_prefork -a2enmod actions fcgid alias proxy_fcgi ssl headers http2 setenvif socache_shmcb +a2dissite 000-default > $OUTPUT 2>&1 +a2dismod mpm_prefork > $OUTPUT 2>&1 +a2enmod actions fcgid alias proxy_fcgi ssl headers http2 setenvif socache_shmcb > $OUTPUT 2>&1 mkdir -p /etc/apache2/snippets/ curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/CoreModules/apache/config/apache2/snippets-ssl.conf -o /etc/apache2/snippets/apa-ssl.conf @@ -51,4 +51,4 @@ curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/Scripts/to # custom Welcome page echo "$webserv is functioning normally" > /var/www/html/index.html -systemctl start apache2 \ No newline at end of file +systemctl start apache2 > $OUTPUT 2>&1 \ No newline at end of file