[python-django-horizon/el6-havana] create, own and chmod apache /var/log/horizon
Matthias Runge
mrunge at fedoraproject.org
Fri Oct 18 10:59:39 UTC 2013
commit 3e3de6a3d1463b868dd56e022414705532cf7f7c
Author: Matthias Runge <mrunge at redhat.com>
Date: Fri Oct 18 12:59:06 2013 +0200
create, own and chmod apache /var/log/horizon
python-django-horizon.spec | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/python-django-horizon.spec b/python-django-horizon.spec
index ed29345..3aeac1b 100644
--- a/python-django-horizon.spec
+++ b/python-django-horizon.spec
@@ -265,6 +265,10 @@ cp -a static/* %{buildroot}%{_datadir}/openstack-dashboard/static
# create /var/run/openstack-dashboard/ and own it
mkdir -p %{buildroot}%{_sharedstatedir}/openstack-dashboard
+
+# create /var/log/horizon and own it
+mkdir -p %{buildroot}%{_var}/log/horizon
+
#%check
#sed -i 's:^SECRET_KEY =.*:SECRET_KEY = "badcafe":' openstack_dashboard/local/local_settings.py
#./run_tests.sh -N
@@ -310,6 +314,7 @@ mkdir -p %{buildroot}%{_sharedstatedir}/openstack-dashboard
%dir %attr(0750, root, apache) %{_sysconfdir}/openstack-dashboard
%dir %attr(0750, apache, apache) %{_sharedstatedir}/openstack-dashboard
+%dir %attr(0750, apache, apache) %{_var}/log/horizon
%config(noreplace) %{_sysconfdir}/httpd/conf.d/openstack-dashboard.conf
%config(noreplace) %attr(0640, root, apache) %{_sysconfdir}/openstack-dashboard/local_settings
%config(noreplace) %attr(0640, root, apache) %{_sysconfdir}/openstack-dashboard/keystone_policy.json
More information about the scm-commits
mailing list