Skip to main content

maybe_daemonize

Function maybe_daemonize 

Source
pub(crate) fn maybe_daemonize(cli: &Command) -> Result<()>
Expand description

If --daemon was passed for standalone start, fork into the background before any Tokio runtime is built. On non-Unix platforms the --daemon flag does not exist, so this is a no-op.