lib/capistrano/twingly/tasks/upstart.rake in capistrano-twingly-2.4.0 vs lib/capistrano/twingly/tasks/upstart.rake in capistrano-twingly-2.4.1

- old
+ new

@@ -24,10 +24,10 @@ namespace :foreman do desc 'Upload Procfile to server' task :upload_procfile do on roles(:app) do |host| - upload! "tmp/Procfile_#{host.name}", "#{fetch(:deploy_to)}/current/Procfile" + upload! "tmp/Procfile_#{host.hostname}", "#{fetch(:deploy_to)}/current/Procfile" end end desc 'Generate Procfile' task :generate_procfile do