Allow configuration of Apache user and group
* Fixes bug 915064
* APACHE_USER defaults to $USER
* APACHE_GROUP defaults to $APACHE_USER
Change-Id: I06cf39cfd884d8f858ab98b84b3f40c3f6ff3a40
diff --git a/files/000-default.template b/files/000-default.template
index 1d7380d..d97f365 100644
--- a/files/000-default.template
+++ b/files/000-default.template
@@ -1,8 +1,8 @@
<VirtualHost *:80>
WSGIScriptAlias / %HORIZON_DIR%/openstack-dashboard/dashboard/wsgi/django.wsgi
- WSGIDaemonProcess horizon user=%USER% group=%USER% processes=3 threads=10
+ WSGIDaemonProcess horizon user=%USER% group=%GROUP% processes=3 threads=10
SetEnv APACHE_RUN_USER %USER%
- SetEnv APACHE_RUN_GROUP %USER%
+ SetEnv APACHE_RUN_GROUP %GROUP%
WSGIProcessGroup horizon
DocumentRoot %HORIZON_DIR%/.blackhole/