Sha256: 19868f729e7b9e55722e8b64d201e0936cb71ad3f804dee8c8e57972e3ca6b23

Contents?: true

Size: 295 Bytes

Versions: 56

Compression:

Stored size: 295 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  namespace :apache do
    [:stop, :start, :restart, :reload].each do |action|
      desc "#{action.to_s.capitalize} Apache"
      task action, :roles => :web do
        sudo "/etc/init.d/apache2 #{action.to_s}"
      end
    end
  end
end

Version data entries

56 entries across 56 versions & 6 rubygems

Version Path
engineyard-eycap-0.4.0 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.1 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.10 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.11 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.12 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.14 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.15 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.2 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.3 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.4 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.5 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.6 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.7 lib/eycap/recipes/apache.rb
engineyard-eycap-0.4.9 lib/eycap/recipes/apache.rb
square-eycap-0.4.13 lib/eycap/recipes/apache.rb
squirrel-eycap-0.4.10 lib/eycap/recipes/apache.rb
squirrel-eycap-0.4.12 lib/eycap/recipes/apache.rb
eycap-0.6.12 lib/eycap/recipes/apache.rb
eycap-0.6.11 lib/eycap/recipes/apache.rb
eycap-0.6.10 lib/eycap/recipes/apache.rb