Changeset 1183
- Timestamp:
- 07/11/08 21:51:24 (6 months ago)
- Files:
-
- trunk/config/deploy.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/config/deploy.rb
r984 r1183 93 93 desc "Create media folder" 94 94 task :after_setup do 95 run "mkdir #{shared_path}/cache" 96 run "mkdir #{shared_path}/media" 95 run "mkdir #{shared_path}/cache" 96 run "mkdir #{shared_path}/media" 97 97 run "mkdir #{shared_path}/media/cue" 98 98 run "mkdir #{shared_path}/media/cast" … … 105 105 end 106 106 107 desc "Migrate before restart"108 task :before_restart do109 migrate110 end107 #desc "Migrate before restart" 108 #task :before_restart do 109 # migrate 110 #end 111 111 112 112 desc "Put our own maintenance template" … … 129 129 desc "Add symlink" 130 130 task :after_symlink do 131 run "ln -nfs #{shared_path}/system/mahoro.so #{release_path}/vendor/mahoro.so" 131 run "ln -nfs #{shared_path}/system/mahoro.so #{release_path}/vendor/mahoro.so" 132 132 run "ln -nfs #{shared_path}/media #{release_path}/media" 133 run "ln -nfs #{shared_path}/cache #{release_path}/public/cache" 133 run "ln -nfs #{shared_path}/cache #{release_path}/public/cache" 134 134 end
