Browse code

Merge "Shut down ironic services in the modern way"

Jenkins authored on 2015/03/13 10:32:23
Showing 1 changed files
... ...
@@ -482,9 +482,8 @@ function start_ironic_conductor {
482 482
 
483 483
 # stop_ironic() - Stop running processes
484 484
 function stop_ironic {
485
-    # Kill the Ironic screen windows
486
-    screen -S $SCREEN_NAME -p ir-api -X kill
487
-    screen -S $SCREEN_NAME -p ir-cond -X kill
485
+    stop_process ir-api
486
+    stop_process ir-cond
488 487
 
489 488
     # Cleanup the WSGI files
490 489
     if [[ "$IRONIC_IPXE_ENABLED" == "True" ]] ; then