aboutsummaryrefslogtreecommitdiffstats
path: root/script/mysociety-switch-to-shared
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-07-10 10:35:07 +0100
committerGareth Rees <gareth@mysociety.org>2014-07-10 12:43:49 +0100
commit36e1f108504eba2e4d56f4c9f03459809d6da8c3 (patch)
tree3b08bbace2b7577bbf9defb6d0ef8b4c751b1aa6 /script/mysociety-switch-to-shared
parent7e3e60e6067ec165db32d10d858fe017d8f79caf (diff)
Add log/ to switch-to-shared script
script/rails-deploy-before-down will complain if log is listed in the SHARED_DIRECTORIES configuration variable and already exists in APP_ROOT. It will recommend this script be used to migrate to a timestamped deployment structure, so adding log/ makes the transition of the log directory easier.
Diffstat (limited to 'script/mysociety-switch-to-shared')
-rwxr-xr-xscript/mysociety-switch-to-shared1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/mysociety-switch-to-shared b/script/mysociety-switch-to-shared
index f82e77706..801532e57 100755
--- a/script/mysociety-switch-to-shared
+++ b/script/mysociety-switch-to-shared
@@ -23,6 +23,7 @@ mkdir -p "$SHARED_DIR"
for F in \
cache \
+ log \
public/foi-live-creation.png \
public/foi-user-use.png \
config/aliases \