Merge lp:~bellini666/charms/precise/wordpress/fix_apache2 into lp:charms/wordpress

Proposed by Thiago Bellini
Status: Merged
Merged at revision: 74
Proposed branch: lp:~bellini666/charms/precise/wordpress/fix_apache2
Merge into: lp:charms/wordpress
Diff against target: 11 lines (+1/-1)
1 file modified
hooks/config-changed (+1/-1)
To merge this branch: bzr merge lp:~bellini666/charms/precise/wordpress/fix_apache2
Reviewer Review Type Date Requested Status
Marco Ceppi (community) Approve
Review via email: mp+222257@code.launchpad.net

Description of the change

This is to fix using wordpress with apache2. Without this, apache will fail to start everytime the machine restarts.

To post a comment you must log in.
Revision history for this message
Marco Ceppi (marcoceppi) wrote :

LGTM, Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/config-changed'
2--- hooks/config-changed 2014-05-13 22:35:04 +0000
3+++ hooks/config-changed 2014-06-05 20:03:32 +0000
4@@ -56,7 +56,7 @@
5 fi
6 sed -i -e "s/# deb \(.*\) multiverse/deb \1 multiverse/g" /etc/apt/sources.list #for libapache2-mod-fastcgi
7 apt-get update
8- apt-get -y purge nginx
9+ apt-get -y purge nginx*
10 apt-get install -y apache2-mpm-worker libapache2-mod-fastcgi
11 service apache2 stop
12

Subscribers

People subscribed via source and target branches

to all changes: