Merge lp:~hloeung/ubuntu-repository-cache/apache2-restart-on-mpm-changes-2 into lp:ubuntu-repository-cache

Proposed by Haw Loeung
Status: Merged
Approved by: Haw Loeung
Approved revision: 294
Merged at revision: 294
Proposed branch: lp:~hloeung/ubuntu-repository-cache/apache2-restart-on-mpm-changes-2
Merge into: lp:ubuntu-repository-cache
Diff against target: 12 lines (+2/-0)
1 file modified
reactive/ubuntu-repository-cache.py (+2/-0)
To merge this branch: bzr merge lp:~hloeung/ubuntu-repository-cache/apache2-restart-on-mpm-changes-2
Reviewer Review Type Date Requested Status
Paul Collins lgtm Approve
Canonical IS Reviewers Pending
Review via email: mp+394991@code.launchpad.net

Commit message

Ensure MPM type and settings are made live on newly provisioned units - LP:1807086

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
Paul Collins (pjdc) :
review: Approve (lgtm)
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 294

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'reactive/ubuntu-repository-cache.py'
2--- reactive/ubuntu-repository-cache.py 2020-12-08 00:25:59 +0000
3+++ reactive/ubuntu-repository-cache.py 2020-12-08 00:43:57 +0000
4@@ -29,6 +29,8 @@
5 LOG('Installing %s' % SERVICE)
6 service.install()
7 reactive.set_flag('ubuntu-repository-cache.installed')
8+ # Needed to make sure any initial MPM tuning and mode will be made live.
9+ reactive.set_flag('ubuntu-repository-cache.apache2-restart-required')
10
11
12 @reactive.when('config.changed')

Subscribers

People subscribed via source and target branches