Function lair_keystore_client::assert_running_lair_and_connect[][src]

pub async fn assert_running_lair_and_connect(
    config: Arc<Config>,
    passphrase: BufRead
) -> LairResult<GhostSender<LairClientApi>>
Expand description

If a lair executable is already running, connect to it. If it is not, attempt to run and disown one into the background. Note, it is still preferable for lair to be executed / managed as a system service, but this provides a quick up-and-running experience.