Skip to content

Commit

Permalink
update capfile
Browse files Browse the repository at this point in the history
  • Loading branch information
whomwah committed Apr 15, 2009
1 parent c693c82 commit e40d9d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ namespace :deploy do
task :after_symlink do
run "ln -nfs #{shared_path}/cache/" \
" #{current_path}/tmp/cache"
run <<-CMD
rm -rf #{release_path}/log &&
ln -nfs #{shared_path}/log #{release_path}/log
CMD
# passenger lets you do this to restart the app
run "touch #{current_path}/tmp/restart.txt"
end
Expand Down

0 comments on commit e40d9d9

Please sign in to comment.