From 36ad2b24424936a4badeb7b4b2b26ee0d39e55f2 Mon Sep 17 00:00:00 2001 From: Chris Horne <47893434+chorne-togetherwork@users.noreply.github.com> Date: Fri, 20 Dec 2019 12:38:01 -0500 Subject: [PATCH] fix(redhat): add user & group lookup to configs --- apache/files/RedHat/apache-2.2.config.jinja | 4 ++-- apache/files/RedHat/apache-2.4.config.jinja | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apache/files/RedHat/apache-2.2.config.jinja b/apache/files/RedHat/apache-2.2.config.jinja index afc4fea..94e2680 100644 --- a/apache/files/RedHat/apache-2.2.config.jinja +++ b/apache/files/RedHat/apache-2.2.config.jinja @@ -129,8 +129,8 @@ LoadModule version_module modules/mod_version.so # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. # -User apache -Group apache +User {{ apache.user }} +Group {{ apache.group }} # 'Main' server configuration # diff --git a/apache/files/RedHat/apache-2.4.config.jinja b/apache/files/RedHat/apache-2.4.config.jinja index 5456d5e..556b90e 100644 --- a/apache/files/RedHat/apache-2.4.config.jinja +++ b/apache/files/RedHat/apache-2.4.config.jinja @@ -95,8 +95,8 @@ Include conf.modules.d/*.conf # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. # -User apache -Group apache +User {{ apache.user }} +Group {{ apache.group }} # 'Main' server configuration #