vault: start after consul if consul is used as storage backend
This commit is contained in:
parent
d016ef1f5b
commit
7330e80456
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue