Kill all swift processes before trying to install.

- Before trying to install swift we ensure there is no swift processes
  running.

Change-Id: Ibeb511a67f1ccc4914d9cdf2874324159e3928cc
This commit is contained in:
Chmouel Boudjnah 2012-06-14 13:08:24 +00:00
parent 20cfd67d2b
commit f87fd042e7

View File

@ -1371,6 +1371,9 @@ if is_service_enabled swift; then
# Install memcached for swift.
install_package memcached
# We make sure to kill all swift processes first
pkill -f -9 swift-
# We first do a bit of setup by creating the directories and
# changing the permissions so we can run it as our user.