From f01c77ab34502e4e63e99a8436a8a03b68007e06 Mon Sep 17 00:00:00 2001 From: Mason James Date: Fri, 3 Nov 2023 11:56:51 +1300 Subject: [PATCH] Bug 35242: Force memcache restart after koha upgrade to test.. 1/ install koha-common $ sudo apt install koha-common 2/ start memcached, check PID $ sudo service memcached start $ sudo systemctl status memcached | grep PID Main PID: 52851 (memcached) 3/ build and install new koha-common package (will trigger a restart) $ sudo apt install ./koha-common-git+deadbeef.deb 5/ check that memcache is started, and has new PID (52900) $ sudo systemctl status memcached | grep PID Main PID: 52900 (memcached) --- debian/koha-common.postinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/koha-common.postinst b/debian/koha-common.postinst index 57e26c958ce..0309850c80e 100644 --- a/debian/koha-common.postinst +++ b/debian/koha-common.postinst @@ -276,6 +276,9 @@ db_stop rabbitmq-plugins enable rabbitmq_stomp service rabbitmq-server restart +# Bug 35242: Force memcache restart after koha install/upgrade +service memcached restart + # Bug 18250: Correct startup order of koha-common and memcached # Since the init script has been updated, we can force the order in rc.d # by disabling and enabling again. -- 2.30.2