Sha256: 11f7b632cec8bc0442cdeaed05d712fd2cd1253d38c26f8eb06c27c9bfe5b898
Contents?: true
Size: 722 Bytes
Versions: 21
Compression:
Stored size: 722 Bytes
Contents
namespace :deploy do namespace :unicorn do desc "Starts unicorn" task :start do on roles :app do execute "#{fetch(:daemons_path)}/#{fetch(:application)}-unicorn start" end end desc "Stops unicorn" task :stop do on roles :app do execute "#{fetch(:daemons_path)}/#{fetch(:application)}-unicorn stop" end end desc "Starts unicorn" task :restart do on roles :app do execute "#{fetch(:daemons_path)}/#{fetch(:application)}-unicorn restart" end end desc "Reloads unicorn" task :reload do on roles :app do execute "#{fetch(:daemons_path)}/#{fetch(:application)}-unicorn reload" end end end end
Version data entries
21 entries across 21 versions & 1 rubygems