module Supervised
Definitions
def supervisor_ipc_path
The IPC path to use for communication with the supervisor.
Signature
-
returns
String
Implementation
def supervisor_ipc_path
::File.expand_path("supervisor.ipc", root)
end
def supervisor_endpoint
The endpoint the supervisor will bind to.
Signature
-
returns
::IO::Endpoint::Generic
Implementation
def supervisor_endpoint
::IO::Endpoint.unix(supervisor_ipc_path)
end