AppController/djinn.rb
# Starts the application manager which is a SOAP service in charge of
# starting and stopping applications.
Starts the application manager which is a SOAP service in charge of
starting and stopping applications.
Starts the application manager which is a SOAP service in charge of starting and stopping applications .
def start_app_manager_server()
    @state = "Starting up AppManager"
    env_vars = {}
    app_manager_script = "#{APPSCALE_HOME}/AppManager/app_manager_server.py"
    start_cmd = "#{PYTHON27} #{app_manager_script}"
    stop_cmd = "#{PYTHON27} #{APPSCALE_HOME}/scripts/stop_service.py " +
          "#{app_manager_script} #{PYTHON27}"
    port = AppManagerClient::SERVER_PORT
    MonitInterface.start(:appmanagerserver, start_cmd, stop_cmd, [port],
                         env_vars, start_cmd, nil, nil, nil)
  end
def start_app_manager_server ( ) @state = "Starting up AppManager" env_vars = { } app_manager_script = "#{APPSCALE_HOME}/AppManager/app_manager_server.py" start_cmd = "#{PYTHON27} #{app_manager_script}" stop_cmd = "#{PYTHON27} #{APPSCALE_HOME}/scripts/stop_service.py " + "#{app_manager_script} #{PYTHON27}" port = AppManagerClient :: SERVER_PORT MonitInterface . start ( :appmanagerserver , start_cmd , stop_cmd , [ port ] , env_vars , start_cmd , nil , nil , nil ) end
Starts the application manager which is a SOAP service in charge of
starting and stopping applications.
Starts the application manager which is a SOAP service in charge of starting and stopping applications .