From 577e464746ce8218764a61c26b950e44395ffc90 Mon Sep 17 00:00:00 2001 From: Luka Krajger Date: Wed, 23 Sep 2015 19:07:21 +0200 Subject: [PATCH] Fixes devstack script for CentOS Use portable function to restart apache server after tacker-horizon installation. Change-Id: I8461c671dc67dabb83c006f166dcf9654af639f7 Closes-Bug: #1498471 --- devstack/lib/tacker | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devstack/lib/tacker b/devstack/lib/tacker index 372e45237..ce79847fc 100755 --- a/devstack/lib/tacker +++ b/devstack/lib/tacker @@ -361,8 +361,7 @@ function tacker_horizon_install { git_clone_by_name "tacker-horizon" setup_dev_lib "tacker-horizon" sudo cp $DEST/tacker-horizon/openstack_dashboard_extensions/* $DEST/horizon/openstack_dashboard/enabled/ - sudo service apache2 restart - sleep 3 + restart_apache_server } function tacker_create_initial_network {