]> git.koha-community.org Git - koha.git/commit
Bug 13791: make koha-common init script aware of plack
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 13 Aug 2015 17:54:58 +0000 (14:54 -0300)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Mon, 24 Aug 2015 16:00:41 +0000 (13:00 -0300)
commitdc742ec9b505586c1b6ba9b11eb614b46662e17f
treef80f6bc332ca4e492ee5937fad9d302da53e7042
parentd863757fa749ef7d20da5e6195112bc42c676528
Bug 13791: make koha-common init script aware of plack

This patch makes the packages' koha-common script aware of plack.
It does so by relying on koha-list --plack to know which instances
have Plack configured, and uses the koha-plack script to manage
the running daemons.

It also introduces a plack_status function to check the status of
the Plack daemon when called:

   $ servive koha-common status

Regards

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
debian/koha-common.init