Browse code

Kill all swift processes before trying to install.

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

Change-Id: Ibeb511a67f1ccc4914d9cdf2874324159e3928cc

Chmouel Boudjnah authored on 2012/06/14 22:08:24
Showing 1 changed files
... ...
@@ -1371,6 +1371,9 @@ if is_service_enabled swift; then
1371 1371
     # Install memcached for swift.
1372 1372
     install_package memcached
1373 1373
 
1374
+    # We make sure to kill all swift processes first
1375
+    pkill -f -9 swift-
1376
+
1374 1377
     # We first do a bit of setup by creating the directories and
1375 1378
     # changing the permissions so we can run it as our user.
1376 1379