lock '3.4.0'

set :application, 'hacken-in'
set :repo_url, 'https://github.com/hacken-in/website.git'

set :format, :pretty
set :user, 'hacken'
set :log_level, :info
set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system')

set :keep_releases, 5

namespace :deploy do
  task :restart do
    on roles(:web) do
      info "Restarting Unicorn"
      run "svc -h svc -h ~/service/hacken-in-#{fetch(:stage)}"
    end
  end
end

after 'deploy:published', 'deploy:restart'

lock '3.4.0'

set :application, 'hacken-in'
set :repo_url, 'https://github.com/hacken-in/website.git'

set :user, 'hacken'
set :log_level, :info
set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system')

set :keep_releases, 5

namespace :deploy do
  task :restart do
    info "Restarting Unicorn"
    run "svc -h svc -h ~/service/hacken-in-#{fetch(:stage)}"
  end
end

after 'deploy:published', 'deploy:restart'

Remove :pretty formatter + role.
Remove :pretty formatter + role.
