class EY::Serverside::CLI::Workflows::RestartingApplications

RestartingApplications is a Workflow that restarts the application specified in the options

Private Instance Methods

procedure() click to toggle source
# File lib/engineyard-serverside/cli/workflows/restarting_applications.rb, line 12
def procedure
  restart_options[:release_path] = Pathname.new(
    "/data/#{options[:app]}/current"
  )

  propagate_serverside

  EY::Serverside::Deploy.
    new(servers, config, shell).
    restart_with_maintenance_page

end
restart_options() click to toggle source
# File lib/engineyard-serverside/cli/workflows/restarting_applications.rb, line 25
def restart_options
  @restart_options ||= options.dup
end
task_name() click to toggle source
# File lib/engineyard-serverside/cli/workflows/restarting_applications.rb, line 29
def task_name
  'restart'
end