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