package ocaml-systemd

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module DaemonSource

OCaml interface to the libsystemd-daemon library.

Sourcemodule State : sig ... end
Sourceval notify : ?unset_environment:bool -> State.t -> bool

notify ?unset_environment state sends a message to the init system about a status change. If the status was sent return true. May raise Unix_error

Sourceval listen_fds : ?unset_environment:bool -> unit -> Unix.file_descr list

listen_fds ?unset_environment returns the number of descriptors passed to this process by the init system as part of the socket-based activation logic or raises Unix_error

Sourceval booted : unit -> bool

booted Return true if this system is running under systemd. or raises Unix_error

OCaml

Innovation. Community. Security.