Sha256: 9353db8dd8de92cb95a3d733344c6882adcde0fa5f5fb30cca53a767f81e52e3
Contents?: true
Size: 215 Bytes
Versions: 2
Compression:
Stored size: 215 Bytes
Contents
namespace :deploy do desc 'Restart unicorn application' task :restart_unicorn do on roles(:app), in: :sequence, wait: 5 do sudo "/etc/init.d/unicorn_#{fetch(:full_app_name)} restart" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capup-0.0.4 | lib/capup/tasks/restart_unicorn.cap |
capup-0.0.2 | lib/capup/tasks/restart_unicorn.cap |