nixos/gnupg: require sockets.target, not just gpg-agent.socket
If other sockets are enabled, such as gpg-agent-browser.socket, those should be started before gpg-agent.service as well. Change-Id: I29d3f4b19db9e687425b594dcef863a88ec296c9
This commit is contained in:
parent
664c30f76b
commit
8131fc5ee6
@ -102,7 +102,7 @@ in
|
||||
unitConfig = {
|
||||
Description = "GnuPG cryptographic agent and passphrase cache";
|
||||
Documentation = "man:gpg-agent(1)";
|
||||
Requires = [ "gpg-agent.socket" ];
|
||||
Requires = [ "sockets.target" ];
|
||||
};
|
||||
serviceConfig = {
|
||||
ExecStart = "${cfg.package}/bin/gpg-agent --supervised";
|
||||
|
Loading…
Reference in New Issue
Block a user