Fix Swift process kill
stop_swift() was not killing all swift processes properly. Change to manually clean up all screen services with pkill. Closes-bug: 1268794 Change-Id: Ibb7a2e0dd10a313609f05963264087f82f6f00e2
This commit is contained in:
parent
b53dbad8ac
commit
bb8227ce69
@ -652,8 +652,10 @@ function stop_swift() {
|
||||
if type -p swift-init >/dev/null; then
|
||||
swift-init --run-dir=${SWIFT_DATA_DIR}/run all stop || true
|
||||
fi
|
||||
# Dump the proxy server
|
||||
sudo pkill -f swift-proxy-server
|
||||
for type in proxy object container account; do
|
||||
# Dump all of the servers
|
||||
pkill -f swift-
|
||||
done
|
||||
}
|
||||
|
||||
# Restore xtrace
|
||||
|
Loading…
x
Reference in New Issue
Block a user