]> git.koha-community.org Git - koha.git/commit
Bug 17262: Inject MEMCACHED_* variables into Plack's env
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Sep 2016 19:45:36 +0000 (16:45 -0300)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 23 Sep 2016 06:41:14 +0000 (08:41 +0200)
commitab27ec60d3a5017ef88f2694b1e5ce0b5e397b12
tree184b435b258493ecd45c0070a90e5f1049cf3a10
parentf30e123976109091726cf7152ba544d750710ed2
Bug 17262: Inject MEMCACHED_* variables into Plack's env

This patch adds two functions to koha-functions.sh to read the
MEMCACHED_* variables from configured instances' apache files (the only
source for that info for now).

It then tweaks koha-plack's start_plack() function so it exports the
variables to env before launching starman.

The patch seems trivial, but it highlights a bigger problem with our
Plack integration as the starman server seems to hang if those
environment variables are defined!

Sponsored-by: ByWater Solutions
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 29df6161ef24e29984d5379640faad24d0e73161)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
debian/scripts/koha-functions.sh
debian/scripts/koha-plack