From bcb5b6d01014174b1f3d80eff664b525cd49e335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannik=20R=C3=B6del?= Date: Sun, 12 Jun 2022 20:48:06 +0200 Subject: [PATCH] Fix container health check formatting --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index d35325d..985fcfd 100644 --- a/flake.nix +++ b/flake.nix @@ -72,7 +72,10 @@ ${pkgs.lighttpd}/bin/lighttpd -Df ${packages.lighttpdConfig} '') ]; Healthcheck = { - Test = [ "${pkgs.curl}/bin/curl" "--fail" "localhost" ]; + Test = [ + "CMD" + "${pkgs.curl}/bin/curl" "--fail" "localhost" + ]; Interval = 30000000000; # 30 seconds Timeout = 10000000000; # 10 seconds Retries = 3;