]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Added files to git
authorGhe Rivero <ghe@debian.org>
Thu, 1 Mar 2012 12:19:21 +0000 (13:19 +0100)
committerGhe Rivero <ghe@debian.org>
Thu, 1 Mar 2012 12:19:21 +0000 (13:19 +0100)
Rewritten-From: e84b6616ad7a3e43fc24aeb1aa5724d997b32b1a

trusty/debian/dashboard.apache.conf [new file with mode: 0644]
trusty/debian/openstack-dashboard-apache.install [new file with mode: 0644]
trusty/debian/openstack-dashboard-apache.postinst [new file with mode: 0644]
trusty/debian/openstack-dashboard-apache.postrm [new file with mode: 0644]

diff --git a/trusty/debian/dashboard.apache.conf b/trusty/debian/dashboard.apache.conf
new file mode 100644 (file)
index 0000000..cdbf106
--- /dev/null
@@ -0,0 +1,6 @@
+WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
+
+<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi/>
+  Order allow,deny
+  Allow from all
+</Directory>
diff --git a/trusty/debian/openstack-dashboard-apache.install b/trusty/debian/openstack-dashboard-apache.install
new file mode 100644 (file)
index 0000000..338e535
--- /dev/null
@@ -0,0 +1 @@
+etc/apache2/conf.d
diff --git a/trusty/debian/openstack-dashboard-apache.postinst b/trusty/debian/openstack-dashboard-apache.postinst
new file mode 100644 (file)
index 0000000..067d38a
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+        if [ -x /etc/init.d/apache2 ]; then
+                invoke-rc.d --quiet apache2 reload
+        fi
+fi
+
+#DEBHELPER#
\ No newline at end of file
diff --git a/trusty/debian/openstack-dashboard-apache.postrm b/trusty/debian/openstack-dashboard-apache.postrm
new file mode 100644 (file)
index 0000000..0f3a253
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ -x "`which invoke-rc.d 2>/dev/null`" -a -x "/etc/init.d/apache2" ] ; then
+        invoke-rc.d --quiet apache2 reload
+fi
+
+#DEBHELPER#
\ No newline at end of file