From 7409bceb5655f7a87ec8b6887fe101839d67be58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <Mic92@users.noreply.github.com>
Date: Wed, 19 Feb 2020 16:51:19 +0000
Subject: [PATCH] healthcheck: use POST

Otherwise crawler might accidentally trigger the URL.
There should be also a filter set in healthchecks.io
---
 build01/configuration.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build01/configuration.nix b/build01/configuration.nix
index 65ac6cc..a259d99 100644
--- a/build01/configuration.nix
+++ b/build01/configuration.nix
@@ -43,7 +43,7 @@ in
   services.cron.enable = true;
   services.cron.systemCronJobs = [
     # record that this machine is alive
-    "*/5 * * * * root ${pkgs.curl}/bin/curl -sfL https://hc-ping.com/fcf6c029-5b57-44aa-b392-923f3d894dd9"
+    "*/5 * * * * root ${pkgs.curl}/bin/curl -X POST -sfL https://hc-ping.com/fcf6c029-5b57-44aa-b392-923f3d894dd9"
   ];
 
   boot.kernelPackages = pkgs.linuxPackages_latest;