Sha256: 2ed96a52c172dced7d7255cdd9391bbabb1ce7fb453aedcda392ee562deb5e40

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

require 'deployml/exceptions/invalid_config'

module DeploYML
  module Servers
    module Apache
      def server_start(shell)
        shell.run 'apachectl', 'start'
      end

      def server_restart(shell)
        shell.run 'apachectl', 'restart'
      end

      def server_stop(shell)
        shell.run 'apachectl', 'stop'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
deployml-0.3.0 lib/deployml/servers/apache.rb