Bugzilla – Attachment 95180 Details for
Bug 23949
koha-common.init missing actions for koha-z3950-responder
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23949: Add missing actions for koha-z3950-responder in koha-common.init
Bug-23949-Add-missing-actions-for-koha-z3950-respo.patch (text/plain), 2.47 KB, created by
Marcel de Rooy
on 2019-11-08 07:47:50 UTC
(
hide
)
Description:
Bug 23949: Add missing actions for koha-z3950-responder in koha-common.init
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2019-11-08 07:47:50 UTC
Size:
2.47 KB
patch
obsolete
>From 95d37479a510a42d8b8d4a197bbf1f025e9109d1 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 1 Nov 2019 15:51:00 -0300 >Subject: [PATCH] Bug 23949: Add missing actions for koha-z3950-responder in > koha-common.init >Content-Type: text/plain; charset=utf-8 > >This patch makes the init script deal with koha-z3950-responder in --stop >and --restart actions. Currently, only --start calls the script. > >To test: >- Enable the server: > $ koha-z3950-responder --enable kohadev >- Stop koha-common > $ service koha-common stop >=> SUCCESS: No koha-z3950-responder running >- Start koha-common > $ service koha-common start >=> SUCCESS: It is loaded (even if failing because of config issues) >- Stop koha-common > $ service koha-common stop >=> FAIL: It is still running (no --stop issued) >- Repeat for restart >- Apply this patch >- Redo >=> SUCCESS: Things behave as expected! >- Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > debian/koha-common.init | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/debian/koha-common.init b/debian/koha-common.init >index aeb526f2b6..b173aa6e0d 100755 >--- a/debian/koha-common.init >+++ b/debian/koha-common.init >@@ -60,7 +60,7 @@ do_start() > koha-zebra --start $(koha-list --enabled) > koha-sip --start $(koha-list --enabled --sip) > koha-plack --start $(koha-list --enabled --plack) >- koha-z3950-responder --start $(koha-list --enabled --z3950) >+ koha-z3950-responder --start --quiet $(koha-list --enabled --z3950) > > if [ "$USE_INDEXER_DAEMON" = "yes" ]; then > koha-indexer --start --quiet $(koha-list --enabled) >@@ -76,6 +76,7 @@ do_stop() > koha-zebra --stop $(koha-list) || true > koha-sip --stop $(koha-list --sip) > koha-plack --stop --quiet $(koha-list --enabled --plack) >+ koha-z3950-responder --stop --quiet $(koha-list --enabled --z3950) > > if [ "$USE_INDEXER_DAEMON" = "yes" ]; then > koha-indexer --stop --quiet $(koha-list --enabled) >@@ -89,6 +90,7 @@ do_reload() { > koha-zebra --restart $(koha-list --enabled) > koha-sip --restart $(koha-list --enabled --sip) > koha-plack --restart --quiet $(koha-list --enabled --plack) >+ koha-z3950-responder --restart --quiet $(koha-list --enabled --z3950) > > if [ "$USE_INDEXER_DAEMON" = "yes" ]; then > koha-indexer --restart --quiet $(koha-list --enabled) >-- >2.11.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 23949
:
94957
|
95028
|
95068
|
95125
|
95133
|
95134
|
95135
| 95180 |
95181
|
95182