nixos/vault-agent: should care about /var/lib/vault-agent instead
This commit is contained in:
parent
b4b3484e6c
commit
702cd972ab
1 changed files with 2 additions and 2 deletions
|
@ -89,10 +89,10 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
mounts = lib.optional (config.my.vault.bindMountStateTo != null) {
|
mounts = lib.optional (config.my.vault.bindMountStateTo != null) {
|
||||||
unitConfig.RequiresMountsFor = "${config.my.vault.bindMountStateTo} /var/lib/private/vault-agent";
|
unitConfig.RequiresMountsFor = "${config.my.vault.bindMountStateTo} /var/lib";
|
||||||
options = "bind";
|
options = "bind";
|
||||||
what = config.my.vault.bindMountStateTo;
|
what = config.my.vault.bindMountStateTo;
|
||||||
where = "/var/lib/private/vault-agent";
|
where = "/var/lib/vault-agent";
|
||||||
requiredBy = [ "vault-agent.service" ];
|
requiredBy = [ "vault-agent.service" ];
|
||||||
before = [ "vault-agent.service" ];
|
before = [ "vault-agent.service" ];
|
||||||
wantedBy = [ "vault-agent.service" ];
|
wantedBy = [ "vault-agent.service" ];
|
||||||
|
|
Loading…
Reference in a new issue