From 3bbd08214617f5a5e7b54253f9f8b786623546c8 Mon Sep 17 00:00:00 2001 From: Amy Fong Date: Thu, 24 Jul 2014 13:04:41 -0400 Subject: openstack initscript: add reset Some of the openstack data is associated with external resources (ie glance may have external files), we explicitly invoke the delete commands on those in additional to dropping and recreating the databases. Signed-off-by: Amy Fong --- meta-openstack/recipes-devtools/python/python-barbican/barbican.init | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'meta-openstack/recipes-devtools/python/python-barbican') diff --git a/meta-openstack/recipes-devtools/python/python-barbican/barbican.init b/meta-openstack/recipes-devtools/python/python-barbican/barbican.init index 8bf0de1..5b353e1 100644 --- a/meta-openstack/recipes-devtools/python/python-barbican/barbican.init +++ b/meta-openstack/recipes-devtools/python/python-barbican/barbican.init @@ -86,15 +86,16 @@ case "$1" in stop) stop ;; - restart|force-reload|reload) + restart|force-reload|reload|reset) stop + sleep 1 start ;; status) status ;; *) - echo "Usage: $0 {start|stop|force-reload|restart|reload|status}" + echo "Usage: $0 {start|stop|force-reload|restart|reload|status|reset}" exit 1 ;; esac -- cgit v1.2.3-54-g00ecf