- Before trying to install swift we ensure there is no swift processes
running.
Change-Id: Ibeb511a67f1ccc4914d9cdf2874324159e3928cc
| ... | ... |
@@ -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 |
|