aboutsummaryrefslogtreecommitdiffstats
path: root/config/deploy.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-07-10 12:56:04 +0100
committerGareth Rees <gareth@mysociety.org>2014-07-10 12:56:04 +0100
commitf9ecaf75b398e6f0e09d291d7f34fc705fdeb0a8 (patch)
treee02f9c35386586030fe5dc4e7fd4b0ef6d11baf5 /config/deploy.rb
parent33dad12a49542046549e975bf5543ce687cd2436 (diff)
parent5ed12438107e7c2a4ede9ec6ac93b7e35959c482 (diff)
Merge branch 'log-config' into rails-3-develop
Diffstat (limited to 'config/deploy.rb')
-rw-r--r--config/deploy.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index c73d16f53..9cc847dba 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -56,6 +56,7 @@ namespace :deploy do
"#{release_path}/public/foi-user-use.png" => "#{shared_path}/foi-user-use.png",
"#{release_path}/files" => "#{shared_path}/files",
"#{release_path}/cache" => "#{shared_path}/cache",
+ "#{release_path}/log" => "#{shared_path}/log",
"#{release_path}/lib/acts_as_xapian/xapiandbs" => "#{shared_path}/xapiandbs",
}
@@ -66,6 +67,7 @@ namespace :deploy do
after 'deploy:setup' do
run "mkdir -p #{shared_path}/files"
run "mkdir -p #{shared_path}/cache"
+ run "mkdir -p #{shared_path}/log"
run "mkdir -p #{shared_path}/xapiandbs"
end
end