From 8ecbb38d7958fe9c0675506740a3178f42c75680 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Tue, 12 Mar 2013 12:15:17 +0100 Subject: [PATCH] restart memcached for swift. - (re)start memcached to make sure we have a clean memcache. Change-Id: Idad8d58e2500156c4170af04f880a074c8ce7943 --- lib/swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/swift b/lib/swift index 5ba7e56f3e..2f772fb64c 100644 --- a/lib/swift +++ b/lib/swift @@ -352,6 +352,9 @@ function install_swiftclient() { function start_swift() { # (re)start rsyslog restart_service rsyslog + # (re)start memcached to make sure we have a clean memcache. + restart_service memcached + # Start rsync if is_ubuntu; then sudo /etc/init.d/rsync restart || :