From f6fcce5c42b6bb03a419bc8efb803538f9c628e5 Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@private.storage>
Date: Mon, 13 Dec 2021 14:07:43 +0000
Subject: [PATCH] Also don't restart the service should it be running during a
 config update

---
 nixos/modules/monitoring/exporters/tahoe.nix | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nixos/modules/monitoring/exporters/tahoe.nix b/nixos/modules/monitoring/exporters/tahoe.nix
index f6e59236..afccdc19 100644
--- a/nixos/modules/monitoring/exporters/tahoe.nix
+++ b/nixos/modules/monitoring/exporters/tahoe.nix
@@ -45,6 +45,7 @@ in {
         after = [ "tahoe.storage.service" ];
         startAt = cfg.interval;
         path = [ pkgs.curl ];
+        restartIfChanged = false;
 
         # Save to a temp file and then move atomically so the
         # textfile collector won't read a partial file.
-- 
GitLab