/usr/lib/ocaml/netplex/netplex_controller.mli is in libocamlnet-ocaml-dev 3.7.3-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | (* $Id: netplex_controller.mli 1496 2010-11-27 21:49:12Z gerd $ *)
(** Controller *)
(** The controller is the main part of the Netplex system that starts and
* stop the individual service containers.
*)
open Netplex_types
val create_controller : parallelizer -> controller_config -> controller
(** Create a controller with the default event system *)
val create_controller_for_esys :
Unixqueue.event_system -> parallelizer -> controller_config -> controller
(** Create a controller for the passed event system *)
val extract_config :
logger_factory list -> config_file -> controller_config
(** Extracts the controller config *)
(** {1 Configuring the controller}
There is a [controller] section that may configure the controller:
{[ netplex {
...
controller {
socket_directory = "/var/run/myapp_sockets";
max_level = "debug";
logging { ... };
}
...
}
]}
The [socket_directory] overrides the location where the special
directory with Unix Domain sockets and other runtime files is
created.
The [max_level] parameter defines the global maximum log level.
It defaults to "info". By setting it to "debug" (as shown) debug
logging is enabled. This parameter can be modified at runtime.
The [logging] section is explained in {!Netplex_log}.
*)
module Debug : sig
val enable : bool ref
end
|