Bug 10146 - koha-stop-zebra error handling
authorTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 29 Apr 2013 14:08:35 +0000 (11:08 -0300)
committerChris Hall <followingthepath@gmail.com>
Mon, 17 Jun 2013 08:00:18 +0000 (20:00 +1200)
commit4b53aad7786b9e845779c44f8499aca721898a51
tree118251f3f232404709b6eecbacf50c2bec1d4d8b
parent5c7b1d45d2a58cedff0ae42825f5649ad145fcaf
Bug 10146 - koha-stop-zebra error handling

koha-stop-zebra now
- Checks the instance exists.
- Checks the instance is enabled.
- Checks if the zebra daemon is already running.

Regards
To+

Edit: Corrected the die message

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 898e178c6ff3a79bf991defb60aec8ff58f107c6)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 2e550307bedc8f198667f9c6a95b72fd33073a3e)

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit 2e550307bedc8f198667f9c6a95b72fd33073a3e)

Signed-off-by: Chris Hall <followingthepath@gmail.com>
(cherry picked from commit bd80daad3e65433204fd169be47f123900556805)
debian/scripts/koha-stop-zebra