From abe42cf7f8933b96cbb3d23264cee61f026bf6ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kalu=C5=BEa?= Date: Wed, 23 Oct 2019 11:33:10 +0000 Subject: [PATCH] Run ODCS frontend under 'odcs' user. --- roles/odcs/frontend/templates/etc/httpd/conf.d/odcs.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/odcs/frontend/templates/etc/httpd/conf.d/odcs.conf.j2 b/roles/odcs/frontend/templates/etc/httpd/conf.d/odcs.conf.j2 index 14e687762b..98af361a85 100644 --- a/roles/odcs/frontend/templates/etc/httpd/conf.d/odcs.conf.j2 +++ b/roles/odcs/frontend/templates/etc/httpd/conf.d/odcs.conf.j2 @@ -5,7 +5,7 @@ RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} {% endif %} -WSGIDaemonProcess odcs user=apache group=apache processes={{wsgi_procs}} threads={{wsgi_threads}} +WSGIDaemonProcess odcs user=odcs group=apache processes={{wsgi_procs}} threads={{wsgi_threads}} WSGIScriptAlias /{{ odcs_endpoint }} /usr/share/odcs/odcs.wsgi {% if env == 'staging' %}