Fix config/deploy.rb to put restart.txt in the project's tmp, not /tmp - d'oh