Method: #supervisor
- Defined in:
- lib/falcon/environments/supervisor.rb
#supervisor ⇒ Object
A application process monitor environment.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/falcon/environments/supervisor.rb', line 29 environment(:supervisor) do # The name of the supervisor # @attribute [String] name "supervisor" # The IPC path to use for communication with the supervisor. # @attribute [String] ipc_path do ::File.("supervisor.ipc", root) end # The endpoint the supervisor will bind to. # @attribute [Async::IO::Endpoint] endpoint do Async::IO::Endpoint.unix(ipc_path) end # The service class to use for the supervisor. # @attribute [Class] service do ::Falcon::Service::Supervisor end end |