sig
  module State :
    sig
      type t =
          Ready
        | Reloading
        | Stopping
        | Status of string
        | Error of Unix.error
        | Bus_error of string
        | Main_pid of int
        | Watchdog
    end
  val notify : ?unset_environment:bool -> Daemon.State.t -> bool
  val listen_fds : ?unset_environment:bool -> unit -> Unix.file_descr list
  val booted : unit -> bool
end