nixos/consul: fix package reference in service $PATH
This commit is contained in:
parent
db24d86dd8
commit
9c1f292155
|
@ -210,7 +210,7 @@ in
|
||||||
ExecStop = "${cfg.package}/bin/consul leave";
|
ExecStop = "${cfg.package}/bin/consul leave";
|
||||||
});
|
});
|
||||||
|
|
||||||
path = with pkgs; [ iproute2 gnugrep gawk consul ];
|
path = with pkgs; [ iproute2 gawk cfg.package ];
|
||||||
preStart = let
|
preStart = let
|
||||||
family = if cfg.forceAddrFamily == "ipv6" then
|
family = if cfg.forceAddrFamily == "ipv6" then
|
||||||
"-6"
|
"-6"
|
||||||
|
|
Loading…
Reference in a new issue