healthcheck: use POST

Otherwise crawler might accidentally trigger the URL.
There should be also a filter set in healthchecks.io
This commit is contained in:
Jörg Thalheim 2020-02-19 16:51:19 +00:00 committed by GitHub
parent ae040ac91d
commit 7409bceb56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;