[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
Tue Jul 26 15:30:12 CEST 2016


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 53720
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53720&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

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


More information about the Koha-bugs mailing list