Implement screen process stop() function
Implements screen process stop in ceilometer, cinder, glance, heat, n-vol
Change-Id: Ic5e02926f026d0e6f4b39846bfe77634dd414c60
diff --git a/lib/n-vol b/lib/n-vol
index cc669cb..db53582 100644
--- a/lib/n-vol
+++ b/lib/n-vol
@@ -114,9 +114,10 @@
screen_it n-vol "cd $NOVA_DIR && $NOVA_BIN_DIR/nova-volume"
}
-# stop_nvol() - Stop running processes (non-screen)
+# stop_nvol() - Stop running processes
function stop_nvol() {
- # FIXME(dtroyer): stop only the n-vol screen window?
+ # Kill the nova volume screen window
+ screen -S $SCREEN_NAME -p n-vol -X kill
stop_service tgt
}