`sig
module Fd_redirection :
sig
type t =
[ `Dev_null
| `Do_not_redirect
| `File_append of string
| `File_truncate of string ]
end
val daemonize :
?redirect_stdout:Daemon.Fd_redirection.t ->
?redirect_stderr:Daemon.Fd_redirection.t ->
?cd:string -> ?umask:int -> unit -> unit
val daemonize_wait :
?redirect_stdout:Daemon.Fd_redirection.t ->
?redirect_stderr:Daemon.Fd_redirection.t ->
?cd:string ->
?umask:int -> unit -> (unit -> unit) Core_kernel.Std.Staged.t
end`