]> git.koha-community.org Git - koha.git/commit
Bug 23949: Add missing actions for koha-z3950-responder in koha-common.init
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 1 Nov 2019 18:51:00 +0000 (15:51 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 8 Nov 2019 12:52:04 +0000 (12:52 +0000)
commit56d87af81ac2bda6d1cf0b42807484982a45e1c4
tree142802899c35e9349ebc7e4712298111aefb0f9f
parented45a4f333fb9f6569d150410ef99d8ffe13f54c
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>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
debian/koha-common.init