Summary: | koha-restart-zebra error handling | ||
---|---|---|---|
Product: | Koha | Reporter: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Component: | Packaging | Assignee: | Bugs List <koha-bugs> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P5 - low | CC: | chris, chrish, mtj, robin |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | Sponsored | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 4876 | ||
Attachments: |
Bug 10149 - koha-stop-zebra error handling
Bug 10149 - koha-restart-zebra error handling Bug 10149 - koha-restart-zebra error handling (rewording) Bug 10149 - koha-restart-zebra error handling (rewording) Signed off patch Bug 10149 - koha-restart-zebra error handling (rewording) |
Description
Tomás Cohen Arazi (tcohen)
2013-04-29 14:55:43 UTC
Created attachment 17795 [details] [review] Bug 10149 - 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+ Sponsored-by: Universidad Nacional de Córdoba Created attachment 17796 [details] [review] Bug 10149 - koha-restart-zebra error handling koha-restart-zebra now - Checks the instance exists. - Checks the instance is enabled. - Checks if the zebra daemon is already running. Regards To+ Sponsored-by: Universidad Nacional de Córdoba Created attachment 17797 [details] [review] Bug 10149 - koha-restart-zebra error handling (rewording) koha-restart-zebra now - Checks the instance exists. - Checks the instance is enabled. - Checks if the zebra daemon is already running. Regards To+ Edit: changed some wording problems. Sponsored-by: Universidad Nacional de Córdoba Created attachment 17808 [details] [review] Bug 10149 - koha-restart-zebra error handling (rewording) koha-restart-zebra now - Checks the instance exists. - Checks the instance is enabled. - Checks if the zebra daemon is already running. Regards To+ Edit: - changed some wording problems. - fixed an error in parameter validation Sponsored-by: Universidad Nacional de Córdoba Before patch restart without and instance name silently fails, after patch ./debian/scripts/koha-restart-zebra Restart Zebra for Koha instances. Usage: ./debian/scripts/koha-restart-zebra instancename1 instancename2... Missing instance name... ./debian/scripts/koha-restart-zebra p Unknown instance p. sudo ./debian/scripts/koha-restart-zebra persona Restarting Zebra server for persona sudo ./debian/scripts/koha-stop-zebra persona Stopping Zebra server for persona sudo ./debian/scripts/koha-restart-zebra persona 2013-04-30 16:20:42 christopher pts/3 Zebra does not appear to have been running for instance persona. Starting Zebra server for persona Created attachment 17830 [details] [review] Signed off patch Created attachment 17840 [details] [review] Bug 10149 - koha-restart-zebra error handling (rewording) koha-restart-zebra now - Checks the instance exists. - Checks the instance is enabled. - Checks if the zebra daemon is already running. Regards To+ Edit: - changed some wording problems. - fixed an error in parameter validation Sponsored-by: Universidad Nacional de Córdoba Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Mason James <mtj@kohaaloha.com> > Sponsored-by: Universidad Nacional de Córdoba
> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
> Signed-off-by: Mason James <mtj@kohaaloha.com>
passing QA on this patch...
This patch has been pushed to master and 3.12.x. Pushed to 3.10.x will be in 3.10.6 Pushed to 3.8.x, will be in 3.8.14 |