Bugzilla – Attachment 94957 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), 1.85 KB, created by
Tomás Cohen Arazi (tcohen)
on 2019-11-01 18:55:38 UTC
(
hide
)
Description:
Bug 23949: Add missing actions for koha-z3950-responder in koha-common.init
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2019-11-01 18:55:38 UTC
Size:
1.85 KB
patch
obsolete
>From 06c1d3ddac9be76806124bf1b833c0218b38979d 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 > >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> >--- > debian/koha-common.init | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/debian/koha-common.init b/debian/koha-common.init >index aeb526f2b6..530aab60a2 100755 >--- a/debian/koha-common.init >+++ b/debian/koha-common.init >@@ -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 $(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 $(koha-list --enabled --z3950) > > if [ "$USE_INDEXER_DAEMON" = "yes" ]; then > koha-indexer --restart --quiet $(koha-list --enabled) >-- >2.23.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