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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 27 Feb 2018 18:58:33 +0000 (15:58 -0300)
commit77e95698b4a4f373160adc7827a5434dd2c4560b
treedf608962735f39333fcf8672303f59289bed13ec
parent0eb7bf0caf286e4503f94de869b64f48cc020a24
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