mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
vault: start after consul if consul is used as storage backend
This commit is contained in:
parent
d016ef1f5b
commit
7330e80456
@ -93,7 +93,8 @@ in
|
||||
description = "Vault server daemon";
|
||||
|
||||
wantedBy = ["multi-user.target"];
|
||||
after = [ "network.target" ];
|
||||
after = [ "network.target" ]
|
||||
++ optional (config.services.consul.enable && cfg.storageBackend == "consul") "consul.service";
|
||||
|
||||
preStart =
|
||||
optionalString (cfg.storageBackend == "file" || cfg.storageBackend == "file_transactional")
|
||||
|
Loading…
Reference in New Issue
Block a user