pub fn startup_complete() -> Result<()>Expand description
Notify systemd and the parent process (if any) that the proxy has started successfully. Returns an error if there was a parent process and we failed to notify it.
This is usually called by the restart task returned from RestartConfig::try_into_restart_task
but this function is available if indicating readiness needs to happen sooner or at a more
convenient time then first polling the restart task.
The behaviour of this function is undefined if the environment variables used by this crate to pass file descriptor numbers were set by something other than shellflip spawning a new instance of the calling process.