Sha256: 7ae11cdf048e35bad1628fe414bdfb0893e7a04b7ffe16f1ef55ba71a41cb0ea

Contents?: true

Size: 553 Bytes

Versions: 21

Compression:

Stored size: 553 Bytes

Contents

namespace :deploy do
  namespace :sunspot do
    desc "Starts sunspot"
    task :start do
      on roles :app do
        execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sunspot start"
      end
    end

    desc "Stops sunspot"
    task :stop do
      on roles :app do
        execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sunspot stop"
      end
    end

    desc "Starts sunspot"
    task :restart do
      on roles :app do
        execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sunspot restart"
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
capistrano-unformatt-1.0 lib/capistrano/tasks/sunspot.rake