Sha256: cab80bf29ed1224a6d4c64f64e758a8e41c479337b7459fc0d1dbfeb24dd689e
Contents?: true
Size: 421 Bytes
Versions: 13
Compression:
Stored size: 421 Bytes
Contents
Capistrano::Configuration.instance.load do require_settings :application namespace :merger do [:start, :stop, :restart, :status].each do |command| desc "#{command.to_s.capitalize} the merger service" task command, roles: :db, on_no_matching_servers: :continue do run "sudo service #{application}-merger #{command} || true" end after command, "merger:#{command}" end end end
Version data entries
13 entries across 13 versions & 1 rubygems