Bugzilla – Attachment 41485 Details for
Bug 13791
Plack - Out of the box support on packages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13791: make koha-common init script aware of plack
Bug-13791-make-koha-common-init-script-aware-of-pl.patch (text/plain), 1.64 KB, created by
Tomás Cohen Arazi (tcohen)
on 2015-08-13 17:58:20 UTC
(
hide
)
Description:
Bug 13791: make koha-common init script aware of plack
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2015-08-13 17:58:20 UTC
Size:
1.64 KB
patch
obsolete
>From 851ce55495f999cc560240cbe7ef9406d8bed023 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 13 Aug 2015 14:54:58 -0300 >Subject: [PATCH] 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. >--- > debian/koha-common.init | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/debian/koha-common.init b/debian/koha-common.init >index 241aaa6..65abbd3 100755 >--- a/debian/koha-common.init >+++ b/debian/koha-common.init >@@ -49,6 +49,7 @@ do_start() > koha-create-dirs $(koha-list) > koha-start-zebra $(koha-list --enabled) > koha-start-sip $(koha-list --enabled) >+ koha-plack --start --quiet $(koha-list --enabled --plack) > > if [ "$USE_INDEXER_DAEMON" = "yes" ]; then > koha-indexer --start --quiet $(koha-list --enabled) >@@ -63,6 +64,7 @@ do_stop() > # We stop everything, including disabled ones. > koha-stop-zebra $(koha-list) || true > koha-stop-sip $(koha-list) || true >+ koha-plack --stop --quiet $(koha-list --enabled --plack) > > if [ "$USE_INDEXER_DAEMON" = "yes" ]; then > koha-indexer --stop --quiet $(koha-list --enabled) >@@ -76,6 +78,7 @@ do_reload() { > koha-restart-zebra $(koha-list --enabled) > koha-stop-sip $(koha-list) || true > koha-start-sip $(koha-list --enabled) >+ koha-plack --restart --quiet $(koha-list --enabled --plack) > > if [ "$USE_INDEXER_DAEMON" = "yes" ]; then > koha-indexer --restart --quiet $(koha-list --enabled) >-- >2.5.0
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 13791
:
41481
|
41482
|
41483
|
41484
|
41485
|
41486
|
41503
|
41504
|
41505
|
41506
|
41507
|
41508
|
41509
|
41510
|
41511
|
41512
|
41513
|
41563
|
41564
|
41565
|
41566
|
41567
|
41568
|
41571
|
41572
|
41573
|
41574
|
41575
|
41576
|
41748
|
41749
|
41750
|
41751
|
41752
|
41753
|
41866
|
42038