module Daemon:sig..end
OCaml interface to the libsystemd-daemon library.
module State:sig..end
val notify : ?unset_environment:bool -> State.t -> boolnotify ?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
val listen_fds : ?unset_environment:bool -> unit -> Unix.file_descr listlisten_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
val booted : unit -> boolbooted Return true if this system is running under
systemd. or raises Unix_error