mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
Fix gnupg-agent being kept alive
The agent is restarted automatically after it has been launched successfully, this creates a lot of noise in the logs. This change reloads the agent only if it has crashed, i.e. returns with a non-zero exit code.
This commit is contained in:
parent
6c6eb8ace6
commit
6d4bf1a29e
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ in
|
|||
"${pkgs.gnupg}/bin/gpg-connect-agent" "/bye"
|
||||
];
|
||||
RunAtLoad = cfg.agent.enableSSHSupport;
|
||||
KeepAlive = true;
|
||||
KeepAlive.SuccessfulExit = false;
|
||||
};
|
||||
|
||||
environment.extraInit = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue