Add puma file

This commit is contained in:
2015-05-26 16:27:07 +02:00
parent 710fee280b
commit c29f89354f
2 changed files with 36 additions and 0 deletions
+7
View File
@@ -112,6 +112,13 @@ namespace :deploy do
end
end
desc 'Set config/puma.rb-symlink for upstart'
task :puma_config do
on roles(:app) do
execute "ln -s #{shared_path}/puma.rb #{release_path}/config/puma.rb"
end
end
after :finishing, :puma_config
after :publishing, :restart do
#deploy.update_remote_cache