Enable and start httpd

The Horizon element should enable and start httpd during
os-refresh-config so that the dashboad is useable without any manual
intervention.

Change-Id: I76c2f39b64728e80caa764c248c4a387f35b3391
This commit is contained in:
James Slagle 2014-08-25 20:30:57 -04:00
parent 00957cad13
commit dadc6d6ae8

View File

@ -14,3 +14,6 @@ if [ -n "${HORIZON_VENV_DIR:-}" ] ; then
source $HORIZON_VENV_DIR/bin/activate
DJANGO_SETTINGS_MODULE=openstack_dashboard.settings django-admin.py compress
fi
os-svc-enable -n apache2
os-svc-restart -n apache2