pub fn start_credentials_socket() -> Result<BackgroundProcess, Error>Expand description
Starts a socket for io.systemd.Credentials using systemd-socket-activate.
Sets the file mode of the socket to 666 so that all users on the system have access.
ยงErrors
Returns an error if
systemd-socket-activateis unable to start the required socket,- one or more files in
/run/systemdcan not be listed, - applying of permissions on
/run/systemd/io.systemd.Credentialsfails, - or the socket has not been made available within 10000ms.