diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-07-10 10:35:07 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-07-10 12:43:49 +0100 |
commit | 36e1f108504eba2e4d56f4c9f03459809d6da8c3 (patch) | |
tree | 3b08bbace2b7577bbf9defb6d0ef8b4c751b1aa6 | |
parent | 7e3e60e6067ec165db32d10d858fe017d8f79caf (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.
-rwxr-xr-x | script/mysociety-switch-to-shared | 1 |
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 \ |