[Koha-bugs] [Bug 16822] koha-common init.d script should run koha-plack without quiet

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 9 05:49:57 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16822

Liz Rea <liz at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #53720|0                           |1
        is obsolete|                            |

--- Comment #2 from Liz Rea <liz at catalyst.net.nz> ---
Created attachment 55389
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55389&action=edit
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 at catalyst.net.nz>
Perfect thanks :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list