[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
Thu Aug 13 19:58:05 CEST 2015


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 41481
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41481&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

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

 - is_plack_enabled
 - is_plack_running

Done:
- koha-plack script
- suitable psgi file

TODO (by priority):
- changes to koha-create
- configurable workers/max-reqs (per instance?)
- allow per instance psgi file (debugging?) and fallback to shipped
- tab completion in bash

[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