[FOLIO-451] Improve systemd service files for deploying modules Created: 01/Feb/17 Updated: 12/Nov/18 Resolved: 08/Feb/17 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P3 |
| Reporter: | Wayne Schneider | Assignee: | Wayne Schneider |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 2 hours, 15 minutes | ||
| Original estimate: | Not Specified | ||
| Sprint: |
| Description |
|
The systemd service files for the FOLIO modules make unwarrented assumptions about the instance ID of the module. While they will work fine for deploying modules to a running Okapi instance, they will very likely fail to undeploy the same module. Also, when deploying the service, they should try to wait for a running Okapi. |
| Comments |
| Comment by Wayne Schneider [ 08/Feb/17 ] |
|
Added okapi-undeploy script (and Ansible role) to undeploy all instances of a module, regardless of instId. |