Merge lp:~brian-murray/charms/precise/errors/move-gunicorn-restart into lp:~daisy-pluckers/charms/precise/errors/trunk
Proposed by
Brian Murray
Status: | Merged |
---|---|
Merged at revision: | 38 |
Proposed branch: | lp:~brian-murray/charms/precise/errors/move-gunicorn-restart |
Merge into: | lp:~daisy-pluckers/charms/precise/errors/trunk |
Diff against target: |
19 lines (+2/-2) 2 files modified
hooks/config-changed (+2/-0) hooks/upgrade-charm (+0/-2) |
To merge this branch: | bzr merge lp:~brian-murray/charms/precise/errors/move-gunicorn-restart |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Ames (community) | Approve | ||
Tom Haddon | Approve | ||
Review via email: mp+221041@code.launchpad.net |
Description of the change
This is a result of RT #71934 where this command was run:
"juju set e-t-errors-app errors_static_url=https:/
but the errors front ends did not start using the new assets url. This is becasue the config-changed hook does not restart gunicorn. This branch just moves the restart from upgrade-charm to config-changed.
I wanted to have another person look at this as charms aren't my forte.
To post a comment you must log in.
Looks okay to me, as long as the service can tolerate slightly more frequent restarts (config-changed gets called more often than upgrade-charm).