Bugzilla – Attachment 55967 Details for
Bug 17342
Plack does not work after upgrading to 3.22.11 and 16.05.04
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17342: (bug 17262 follow-up) fix the way to retrieve memcached config from apache
Bug-17342-bug-17262-follow-up-fix-the-way-to-retri.patch (text/plain), 1.37 KB, created by
Jonathan Druart
on 2016-10-03 08:09:34 UTC
(
hide
)
Description:
Bug 17342: (bug 17262 follow-up) fix the way to retrieve memcached config from apache
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-10-03 08:09:34 UTC
Size:
1.37 KB
patch
obsolete
>From 95d1fadb4792006ed34a1ff51a50d18410da9576 Mon Sep 17 00:00:00 2001 >From: Andreas Jonsson <andreas.jonsson@kreablo.se> >Date: Mon, 3 Oct 2016 09:08:03 +0100 >Subject: [PATCH] Bug 17342: (bug 17262 follow-up) fix the way to retrieve > memcached config from apache > >The problem is that the memcached configuration variables are extracted >from the apache configuration file incorrectly so you get >'"127.0.0.1:11211"' including double quotes as the servers parameter to >memcached. >--- > debian/scripts/koha-functions.sh | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/debian/scripts/koha-functions.sh b/debian/scripts/koha-functions.sh >index 810cc25..ca80972 100755 >--- a/debian/scripts/koha-functions.sh >+++ b/debian/scripts/koha-functions.sh >@@ -50,7 +50,7 @@ get_memcached_servers_for() > local apache_file=$(get_apache_config_for $instance) > local memcached_servers=$( > grep 'MEMCACHED_SERVERS' ${apache_file} | >- awk '{print $3}' | uniq >+ awk -F'[\t "]+' '{print $4}' | head -n 1 > ) > > echo "${memcached_servers}" >@@ -63,7 +63,7 @@ get_memcached_namespace_for() > local apache_file=$(get_apache_config_for $instance) > local memcached_namespace=$( > grep 'MEMCACHED_NAMESPACE' ${apache_file} | >- awk '{print $3}' | uniq >+ awk -F'[\t "]+' '{print $4}' | head -n 1 > ) > > echo "${memcached_namespace}" >-- >2.8.1
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 17342
:
55967
|
56040
|
56048