From 9117e983f2beddcbaa5aa1b24a12cdcb1108f85f Mon Sep 17 00:00:00 2001 From: Ghe Rivero Date: Thu, 1 Mar 2012 13:19:21 +0100 Subject: [PATCH] Added files to git Rewritten-From: e84b6616ad7a3e43fc24aeb1aa5724d997b32b1a --- xenial/debian/dashboard.apache.conf | 6 ++++++ xenial/debian/openstack-dashboard-apache.install | 1 + xenial/debian/openstack-dashboard-apache.postinst | 11 +++++++++++ xenial/debian/openstack-dashboard-apache.postrm | 9 +++++++++ 4 files changed, 27 insertions(+) create mode 100644 xenial/debian/dashboard.apache.conf create mode 100644 xenial/debian/openstack-dashboard-apache.install create mode 100644 xenial/debian/openstack-dashboard-apache.postinst create mode 100644 xenial/debian/openstack-dashboard-apache.postrm diff --git a/xenial/debian/dashboard.apache.conf b/xenial/debian/dashboard.apache.conf new file mode 100644 index 0000000..cdbf106 --- /dev/null +++ b/xenial/debian/dashboard.apache.conf @@ -0,0 +1,6 @@ +WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi + + + Order allow,deny + Allow from all + diff --git a/xenial/debian/openstack-dashboard-apache.install b/xenial/debian/openstack-dashboard-apache.install new file mode 100644 index 0000000..338e535 --- /dev/null +++ b/xenial/debian/openstack-dashboard-apache.install @@ -0,0 +1 @@ +etc/apache2/conf.d diff --git a/xenial/debian/openstack-dashboard-apache.postinst b/xenial/debian/openstack-dashboard-apache.postinst new file mode 100644 index 0000000..067d38a --- /dev/null +++ b/xenial/debian/openstack-dashboard-apache.postinst @@ -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/xenial/debian/openstack-dashboard-apache.postrm b/xenial/debian/openstack-dashboard-apache.postrm new file mode 100644 index 0000000..0f3a253 --- /dev/null +++ b/xenial/debian/openstack-dashboard-apache.postrm @@ -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 -- 2.45.2