]> git.koha-community.org Git - koha.git/commit
Bug 16822: Make koha-common call koha-plack without --quiet
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 26 Jul 2016 13:23:43 +0000 (10:23 -0300)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 16 Sep 2016 08:39:16 +0000 (10:39 +0200)
commit284d5a16d75d768723c29b4ea757228221545200
treede7480522afda3fb90c37f9443c5fcf591b0ac45
parentba9c98da975974b2051f6fcccb30fc17e5494097
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 :)

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit eaa11da5624f308768c4eb2c7016b5cd32c35fb1)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 14cec5d6b9e680b30743f78dca87251d31df3c93)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
debian/koha-common.init