From cf3b41fa8bfa0f3d8dce897e4ad6ce4c88ac5ab3 Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Thu, 12 Mar 2015 13:33:12 +0000 Subject: [PATCH] Shut down ironic services in the modern way Instead of killing the screen, use stop_process which will shut the processes when USE_SCREEN is False. Change-Id: If0f714cb112dbf5fe9e4fdd7291cb4fb1df87f42 --- lib/ironic | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ironic b/lib/ironic index 0d7c12777c..35b5411cd4 100644 --- a/lib/ironic +++ b/lib/ironic @@ -482,9 +482,8 @@ function start_ironic_conductor { # stop_ironic() - Stop running processes function stop_ironic { - # Kill the Ironic screen windows - screen -S $SCREEN_NAME -p ir-api -X kill - screen -S $SCREEN_NAME -p ir-cond -X kill + stop_process ir-api + stop_process ir-cond # Cleanup the WSGI files if [[ "$IRONIC_IPXE_ENABLED" == "True" ]] ; then