Browse code

Merge "Use swift-init to kill swift processes."

Jenkins authored on 2012/07/17 01:03:42
Showing 1 changed files
... ...
@@ -1374,7 +1374,7 @@ if is_service_enabled swift; then
1374 1374
     install_package memcached
1375 1375
 
1376 1376
     # We make sure to kill all swift processes first
1377
-    pkill -f -9 swift-
1377
+    swift-init all stop || true
1378 1378
 
1379 1379
     # We first do a bit of setup by creating the directories and
1380 1380
     # changing the permissions so we can run it as our user.