[Koha-bugs] [Bug 13791] Plack - Out of the box support on packages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 17 15:46:16 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13791

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41508|0                           |1
        is obsolete|                            |

--- Comment #21 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 41563
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41563&action=edit
Bug 13791: Plack out-of-the-box support on packages

This patch introduces a koha-plack script that controls running Plack
processes for each instance. They are run using 'starman', listening
on a Unix Domain Socket (UDS):

  /var/run/koha/<instancename>/plack.sock

The plack configuration file[1] is expected to be on:

  /etc/koha/plack.psgi

and is installed by the package.

It also adds the following helper functions to koha-functions.sh:

 - is_plack_enabled
 - is_plack_running

Done:
- koha-plack script
- suitable psgi file

To test this patches you will need to install
- starman
- libplack-middleware-reverseproxy-perl

[1] Yeah, a single file. Because we will be relying on multiple mount
points for each "app" (i.e. 'opac' and 'intranet', and 'api' ;-) )

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list