From 137c782182a06eb27b0da271d7c0be60c844a9c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Fri, 2 Dec 2016 16:28:14 +0100 Subject: [PATCH] added a2enmod --- contrib/packager.io/functions | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/contrib/packager.io/functions b/contrib/packager.io/functions index 8080b6d23..33ebe90cd 100644 --- a/contrib/packager.io/functions +++ b/contrib/packager.io/functions @@ -4,7 +4,7 @@ # function detect_os () { - . "/etc/os-release" + . /etc/os-release if [ "${ID}" == "debian" ] || [ "${ID}" == "ubuntu" ]; then OS="DEBIAN" @@ -173,6 +173,11 @@ function create_webserver_config () { if [ "${OS}" == "DEBIAN" ]; then test -f /etc/${WEBSERVER}/sites-available/zammad.conf || cp ${ZAMMAD_DIR}/contrib/${WEBSERVER}/zammad.conf /etc/${WEBSERVER}/sites-available/zammad.conf test -h ${WEBSERVER_CONF} || ln -s /etc/${WEBSERVER}/sites-available/zammad.conf ${WEBSERVER_CONF} + if [ "${WEBSERVER}" == "apache2" ]; then + a2enmod proxy + a2enmod proxy_http + a2enmod proxy_wstunnel + fi else test -f ${WEBSERVER_CONF} || cp ${ZAMMAD_DIR}/contrib/${WEBSERVER}/zammad.conf ${WEBSERVER_CONF} fi