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";
|
description = "Vault server daemon";
|
||||||
|
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ]
|
||||||
|
++ optional (config.services.consul.enable && cfg.storageBackend == "consul") "consul.service";
|
||||||
|
|
||||||
preStart =
|
preStart =
|
||||||
optionalString (cfg.storageBackend == "file" || cfg.storageBackend == "file_transactional")
|
optionalString (cfg.storageBackend == "file" || cfg.storageBackend == "file_transactional")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user