Merge ~lgp171188/turnip:fix-logrotate-conf-turnip-api-two-service-reloads into turnip:master
Proposed by
Guruprasad
Status: | Merged |
---|---|
Approved by: | Guruprasad |
Approved revision: | 84067d8a498bdd6951ad8e2c79b2e8e1794f8415 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~lgp171188/turnip:fix-logrotate-conf-turnip-api-two-service-reloads |
Merge into: | turnip:master |
Diff against target: |
31 lines (+2/-14) 1 file modified
charm/turnip-api/templates/logrotate.j2 (+2/-14) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+440736@code.launchpad.net |
Commit message
Use a single logrotate config block for turnip api log files
This fixes the issue of the turnip-api service getting reloaded twice, once for each log file specified.
LP: #2015860
To post a comment you must log in.
We also need to add `sharedscripts`, conventionally just before `postrotate`. This causes the `postrotate` script to only be run once, rather than once per file.