]> git.koha-community.org Git - koha.git/commit
Bug 20234: Make maintenance scripts use koha-zebra instead of koha-*-zebra
authorTomas Cohen Arazi <tomascohen@theke.io>
Sat, 17 Feb 2018 14:34:58 +0000 (11:34 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 10 Apr 2018 07:02:37 +0000 (09:02 +0200)
commit443fb91be5805863633439afb4b2eefb7a164112
tree35ddb6456c147e4a73ef04dc2f47ff102ab12733
parentf7b67d01fd98927cf34b9699d1ee998382ba269f
Bug 20234: Make maintenance scripts use koha-zebra instead of koha-*-zebra

This patch makes all maintenance scripts use **koha-zebra** instead of
the old **koha-*-zebra** scripts.

To test:
- Run:
  $ perl misc4dev/cp_debian_files.pl
  $ sudo service koha-common stop
=> SUCCESS: No errors and the Zebra-related sevices are stopped
  $ sudo service koha-common start
=> SUCCESS: No errors and the Zebra-related services are started
  $ sudo service koha-common restart
=> SUCCESS: No erros and Zebra-related services are running
  $ sudo koha-create --create-db test
=> SUCCESS: Instance created and zebra running for it
  $ sudo koha-disable test
=> SUCCESS: No errors and Zebra is stopped for instance test
  $ sudo koha-zebra --start test
  $ sudo koha-remove test
=> SUCCESS: No errors, instance removed, no Zebra running for test
- Sign off :-D

Sponsored-by: Orex Digital
Signed-off-by: Hugo Agud hagud@orex.es
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 900f3437622c3d3df4fc8cf782161c9b9eea844f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
debian/koha-common.init
debian/koha-common.logrotate
debian/scripts/koha-create
debian/scripts/koha-disable
debian/scripts/koha-remove