- Michaelm
- Posts: 1
- Starts: 7
- Wiki Edits: 0
- Location: Washington
While doing my first Capistrano install, I totally missed the comment (and the script code) that removes public_html and replaces it with a link. Not a huge deal, only had a WordPress blog in there that I can re-install, but what's wierd, is that the blog still show up at www.mgmblog.com. I would expect that it would have been wiped with the following rm command.
task :start, :roles => :app do
run "rm -rf /home/#{user}/public_html;ln -s #{current_path}/public /home/#{user}/public_html"
end
But when I do an ls on ~, public_html is definitly a link to the empty 'system' directory. Any thoughts on this? Any way to 'quickly' get my blog back to public_html (next time I'll back it up!)
2007-10-05 05:53 PM