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)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 6 Apr 2018 16:41:29 +0000 (16:41 +0000)
commit900f3437622c3d3df4fc8cf782161c9b9eea844f
treed32aaa4a4b9e7cb17a9f35e60a843df88625d9f8
parent46cb6e98ba88843422274f475711356ff4b13866
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>
debian/koha-common.init
debian/koha-common.logrotate
debian/scripts/koha-create
debian/scripts/koha-disable
debian/scripts/koha-remove