Bugzilla – Attachment 158298 Details for
Bug 35242
Force memcache restart after koha upgrade
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35242: Force memcache restart after koha upgrade
Bug-35242-Force-memcache-restart-after-koha-upgrad.patch (text/plain), 1.31 KB, created by
Mason James
on 2023-11-03 02:19:30 UTC
(
hide
)
Description:
Bug 35242: Force memcache restart after koha upgrade
Filename:
MIME Type:
Creator:
Mason James
Created:
2023-11-03 02:19:30 UTC
Size:
1.31 KB
patch
obsolete
>From f01c77ab34502e4e63e99a8436a8a03b68007e06 Mon Sep 17 00:00:00 2001 >From: Mason James <mtj@kohaaloha.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35242
:
158298
|
158314