diff --git a/debian/scripts/koha-upgrade-schema b/debian/scripts/koha-upgrade-schema index da50d41f10..54ccbeb61a 100755 --- a/debian/scripts/koha-upgrade-schema +++ b/debian/scripts/koha-upgrade-schema @@ -40,6 +40,11 @@ fi for name in "$@" do if is_instance $name; then + ## restart memcached, if it exists + if [ -f "/etc/init.d/memcached" ]; then + /etc/init.d/memcached restart + fi + echo "Upgrading database schema for $name" KOHA_CONF="/etc/koha/sites/$name/koha-conf.xml" \ PERL5LIB=$PERL5LIB \