Parent

Methods

OpenShift::Runtime::Frontend::Http::Plugins::NodeJSDB

Public Instance Methods

callout() click to toggle source
# File lib/openshift/runtime/frontend/http/plugins/nodejs-websocket.rb, line 173
def callout
  childpidfile = "/var/run/openshift-node-web-proxy.pid"
  begin
    cpid = File.read(childpidfile).to_i
    if cpid != 0
      Process.kill("HUP", cpid)
    end
  rescue Errno::ENOENT
    # No child PID file
  rescue Errno::ESRCH
    # No such process
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.