Sha256: 0496170b39668d876b032ca134beec5cfd3113add5bf1e9421c87bf6c5f89ce2

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

Capistrano::Configuration.instance.load do
  namespace :god do
    namespace :application do
      [:start, :stop, :restart].each do |t|
        task t, :roles => :app, except: { no_release: true } do
          sudo "god #{t} #{application}"
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
elocal_capistrano-1.0.2 lib/elocal_capistrano/god.rb
elocal_capistrano-1.0.1 lib/elocal_capistrano/god.rb
elocal_capistrano-1.0.0 lib/elocal_capistrano/god.rb