summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-02-28 18:06:49 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-02-28 18:06:49 +0000
commit7e420d7f475f3a02ca1b8181cd82aea55fa7f3ed (patch)
treee8578d10245faf6601139862de30115b89f2d9e6
parentbd24b7735c187dd258a217ab6e6dc6dfcb2c735f (diff)
downloadtbdiff-7e420d7f475f3a02ca1b8181cd82aea55fa7f3ed.tar.gz
fixup lighttpd conf changes
-rwxr-xr-xbaserock-legacy-upgrade/baserock-legacy-upgrade4
1 files changed, 2 insertions, 2 deletions
diff --git a/baserock-legacy-upgrade/baserock-legacy-upgrade b/baserock-legacy-upgrade/baserock-legacy-upgrade
index c095509..dfee3ee 100755
--- a/baserock-legacy-upgrade/baserock-legacy-upgrade
+++ b/baserock-legacy-upgrade/baserock-legacy-upgrade
@@ -65,6 +65,8 @@ class BaserockLegacyUpgrade(writeexts.WriteExtension):
cliapp.runcmd(['chown', 'cache:cache', '/var/run/lighttpd/'])
def rearrange_system(self, root):
+ self.create_lighttpd_conf()
+
# First, if the system is super old, rearrange the system subvolumes to
# follow the new layout.
subvolumes = self.get_subvolume_list(root)
@@ -119,8 +121,6 @@ class BaserockLegacyUpgrade(writeexts.WriteExtension):
for state_dir in state_dirs_to_create:
self.create_state_subvolume(new_run, root, state_dir)
- self.create_lighttpd_conf()
-
self.status(msg="Complete! You can now reboot and use Morph to deploy "
"upgrades to this system.")