Sha256: b595508d7cdb2ecd53a74df434ccdd2292b0d5d683e4834462e4954d0d6a1cd3

Contents?: true

Size: 288 Bytes

Versions: 5

Compression:

Stored size: 288 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
elocal_capistrano-1.0.8 lib/elocal_capistrano/god.rb
elocal_capistrano-1.0.7 lib/elocal_capistrano/god.rb
elocal_capistrano-1.0.5 lib/elocal_capistrano/god.rb
elocal_capistrano-1.0.4 lib/elocal_capistrano/god.rb
elocal_capistrano-1.0.3 lib/elocal_capistrano/god.rb