Add puma file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user