Function lair_keystore_lib::pid_check::pid_check [−][src]
pub fn pid_check(config: &LairServerConfig) -> LairResult<()>
Expand description
Execute lair pid_check verifying we are the one true Lair process with access to given store / pidfile. This is sync instead of async as it is intended to be used at lair process startup, before we agree to acquire access to the store file.