diff options
Diffstat (limited to 'config/deploy.rb')
-rw-r--r-- | config/deploy.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index c73d16f53..afc586ecf 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -56,6 +56,8 @@ 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}/tmp/pids" => "#{shared_path}/tmp/pids", "#{release_path}/lib/acts_as_xapian/xapiandbs" => "#{shared_path}/xapiandbs", } @@ -66,6 +68,8 @@ 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}/tmp/pids" run "mkdir -p #{shared_path}/xapiandbs" end end |