diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2024-04-18 19:15:49 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2024-04-20 20:36:29 +0200 |
commit | 74574c38577914733b4f7a775dd77d24245081dd (patch) | |
tree | d31143387c75d44a0380919abf7ff98e88ae0243 /nixos/modules | |
parent | 0162798a2de95c15ba3c79fbb17e070fcc94beea (diff) |
nixos/deconz: fix curl redirect option in postStart
It should be curl -L (follow redirects), not curl -l (FTP directory listing option). I know because it's my mistake. Fixes: d4b989cafc77 ("nixos/deconz: delay signalling service readiness until it's actually up") (cherry picked from commit 30a62716b516c2fc6cc8bb2bd8b2deeb42021ec2)
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/deconz.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/deconz.nix b/nixos/modules/services/networking/deconz.nix index eaa7759d0407c..88b0ee612d871 100644 --- a/nixos/modules/services/networking/deconz.nix +++ b/nixos/modules/services/networking/deconz.nix @@ -95,7 +95,7 @@ in ''; postStart = '' # Delay signalling service readiness until it's actually up. - while ! "${lib.getExe pkgs.curl}" -sSfl -o /dev/null "http://${cfg.listenAddress}:${toString cfg.httpPort}"; do + while ! "${lib.getExe pkgs.curl}" -sSfL -o /dev/null "http://${cfg.listenAddress}:${toString cfg.httpPort}"; do echo "Waiting for TCP port ${toString cfg.httpPort} to be open..." sleep 1 done |