diff --git a/flake.nix b/flake.nix index 0e95564..eaa58f1 100644 --- a/flake.nix +++ b/flake.nix @@ -68,6 +68,12 @@ ${pkgs.coreutils}/bin/mkdir -p /var/tmp ${pkgs.lighttpd}/bin/lighttpd -Df ${packages.lighttpdConfig} '') ]; + Healthcheck = { + Test = [ "${pkgs.curl}/bin/curl" "--fail" "localhost" ]; + Interval = 30000000000; # 30 seconds + Timeout = 10000000000; # 10 seconds + Retries = 3; + }; }; };