if [ "$1" = "configure" ]; then
if [ -x /etc/init.d/apache2 ]; then
- invoke-rc.d --quiet apache2 reload
+ a2ensite openstack-dashboard
+ invoke-rc.d --quiet apache2 reload
fi
fi
$(CURDIR)/debian/tmp/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py
# openstack-dashboard-apache
- install -d -m 755 $(CURDIR)/debian/tmp/etc/apache2/conf.d
- cp -a $(CURDIR)/debian/dashboard.apache.conf $(CURDIR)/debian/tmp/etc/apache2/conf.d/dashboard.conf
+ install -d -m 755 $(CURDIR)/debian/tmp/etc/apache2/sites-available/
+ cp -a $(CURDIR)/debian/openstack-dashboard-apache.conf $(CURDIR)/debian/tmp/etc/apache2/sites-available/openstack-dashboard
override_dh_auto_clean:
dh_auto_clean