Bugzilla – Attachment 55389 Details for
Bug 16822
koha-common init.d script should run koha-plack without quiet
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16822: Make koha-common call koha-plack without --quiet
Bug-16822-Make-koha-common-call-koha-plack-without.patch (text/plain), 1.50 KB, created by
Liz Rea
on 2016-09-09 03:49:57 UTC
(
hide
)
Description:
Bug 16822: Make koha-common call koha-plack without --quiet
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2016-09-09 03:49:57 UTC
Size:
1.50 KB
patch
obsolete
>From 1e6b44a743e168ed09e1550c85b6d07e6584dd6a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 26 Jul 2016 10:23:43 -0300 >Subject: [PATCH] Bug 16822: Make koha-common call koha-plack without --quiet > >This patch removes the --quiet option switch in koha-common.init so >problem information is not hidden for sysadmin users. > >To test: > >- Have plack enabled for a koha instance: > $ sudo koha-plack --enable kohadev > $ sudo koha-plack --start kohadev >- Run: > $ cd kohaclone > $ debian/koha-common.init {start|stop|restart} >=> SUCCESS: No behaviour change >- Disable the 'cgi' apache module: > $ sudo a2dismod cgi >- Run: > $ debian/koha-common.init {start|stop|restart} >=> FAIL: No warning is shown >- Apply the patch >- Run: > $ debian/koha-common.init {start|stop|restart} >=> SUCCESS: Warnings show up >- Sign off :-D > >Signed-off-by: Liz Rea <liz@catalyst.net.nz> >Perfect thanks :) >--- > debian/koha-common.init | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/debian/koha-common.init b/debian/koha-common.init >index ad41874..b461056 100755 >--- a/debian/koha-common.init >+++ b/debian/koha-common.init >@@ -57,7 +57,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) >+ koha-plack --start $(koha-list --enabled --plack) > > if [ "$USE_INDEXER_DAEMON" = "yes" ]; then > koha-indexer --start --quiet $(koha-list --enabled) >-- >1.9.1
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 16822
:
53720
|
55389
|
55395