//! Which login session the daemon runs in, where the OS has more than one
//! kind (macOS): the user's GUI login, or a session without GUI access such
//! as an ssh login's. macOS lets only processes in the GUI login use the
//! login keychain, so `gh`, 1Password's SSH agent, and every other keychain
//! reader fail in a daemon outside it.
//!
//! A restart in place keeps the daemon's session, so a daemon started from
//! an ssh login stays outside the GUI login until it is stopped and started
//! again from where a new daemon lands in it ([`restart_moves_into_gui`]).
use ;
use ;
/// The login session a process runs in on macOS.
pub
/// Whether restarting the daemon `record` names in place would keep it
/// outside the user's GUI login, while a daemon started from this process
/// would run in it. `rho daemon restart` then stops it and starts one
/// instead, and `rho doctor` says so.
pub