From 51cbefc916dade14f08894d12b3fac990929f12c Mon Sep 17 00:00:00 2001 From: Nam Nguyen Date: Fri, 26 Aug 2016 21:16:33 -0700 Subject: [PATCH] bug fixes --- .../roles/openstack/roles/jenkins/recipes/install-master.bash | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/work/roles/openstack/roles/jenkins/recipes/install-master.bash b/roles/work/roles/openstack/roles/jenkins/recipes/install-master.bash index 7e8f3ff8..9427135b 100755 --- a/roles/work/roles/openstack/roles/jenkins/recipes/install-master.bash +++ b/roles/work/roles/openstack/roles/jenkins/recipes/install-master.bash @@ -54,8 +54,7 @@ function main() createFileFromTemplate "${appFolderPath}/../templates/nginx.conf.conf" "${NGINX_INSTALL_FOLDER}/conf/nginx.conf" "${nginxConfigData[@]}" - stop "${NGINX_SERVICE_NAME}" - start "${NGINX_SERVICE_NAME}" + restartService "${NGINX_SERVICE_NAME}" # Clean Up