gatus: 5.19.0 -> 5.23.2

This commit is contained in:
undefined
2025-08-30 05:51:34 +08:00
parent 2a54616c74
commit 5365b3cdd9
3 changed files with 6 additions and 5 deletions

View File

@@ -105,7 +105,8 @@ in
config = mkIf cfg.enable {
systemd.services.gatus = {
description = "Automated developer-oriented status page";
after = [ "network.target" ];
after = [ "network-online.target" ];
requires = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {

View File

@@ -29,6 +29,6 @@
testScript = ''
machine.wait_for_unit("gatus.service")
machine.succeed("curl -s http://localhost:8080/metrics | grep go_info")
machine.wait_until_succeeds("curl -s http://localhost:8080/metrics | grep go_info", timeout=60)
'';
}

View File

@@ -7,16 +7,16 @@
buildGoModule rec {
pname = "gatus";
version = "5.19.0";
version = "5.23.2";
src = fetchFromGitHub {
owner = "TwiN";
repo = "gatus";
rev = "v${version}";
hash = "sha256-Jw7OdFGSZgxy52fICURc313ONsmI9Qlsf75aS0LUB9s=";
hash = "sha256-b/UQwwyspOKrW9mRoq0zJZ41lNLM+XvGFlpxz+9ZMco=";
};
vendorHash = "sha256-CofmAYsRp0bya+q/eFJkWV9tGfhg37UxDFR9vpCKYls=";
vendorHash = "sha256-jMNsd7AiWG8vhUW9cLs5Ha2wmdw9SHjSDXIypvCKYqk=";
subPackages = [ "." ];