summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-barbican
diff options
context:
space:
mode:
authorAmy Fong <amy.fong@windriver.com>2014-07-24 13:04:41 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-07-25 15:45:30 -0400
commit1491d54da84195dda8c7d5ce1fac21437f2bc519 (patch)
treecc16576ec9471de2c9d18de8987f5a046971df0f /meta-openstack/recipes-devtools/python/python-barbican
parent3085fa57f54335cfa3794aaf1f45928f5300b000 (diff)
downloadmeta-cloud-services-1491d54da84195dda8c7d5ce1fac21437f2bc519.tar.gz
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 <amy.fong@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-barbican')
-rw-r--r--meta-openstack/recipes-devtools/python/python-barbican/barbican.init5
1 files changed, 3 insertions, 2 deletions
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
86 stop) 86 stop)
87 stop 87 stop
88 ;; 88 ;;
89 restart|force-reload|reload) 89 restart|force-reload|reload|reset)
90 stop 90 stop
91 sleep 1
91 start 92 start
92 ;; 93 ;;
93 status) 94 status)
94 status 95 status
95 ;; 96 ;;
96 *) 97 *)
97 echo "Usage: $0 {start|stop|force-reload|restart|reload|status}" 98 echo "Usage: $0 {start|stop|force-reload|restart|reload|status|reset}"
98 exit 1 99 exit 1
99 ;; 100 ;;
100esac 101esac