diff options
Diffstat (limited to 'hosts/vidhar/prometheus/default.nix')
-rw-r--r-- | hosts/vidhar/prometheus/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix index 8d7b0fe8..61c5b5de 100644 --- a/hosts/vidhar/prometheus/default.nix +++ b/hosts/vidhar/prometheus/default.nix | |||
@@ -417,5 +417,12 @@ in { | |||
417 | systemd.services.nginx.serviceConfig.LoadCredential = [ | 417 | systemd.services.nginx.serviceConfig.LoadCredential = [ |
418 | "prometheus.key:${config.sops.secrets."prometheus.key".path}" | 418 | "prometheus.key:${config.sops.secrets."prometheus.key".path}" |
419 | ]; | 419 | ]; |
420 | |||
421 | systemd.services."prometheus-unbound-exporter" = { | ||
422 | serviceConfig = { | ||
423 | Restart = lib.mkForce "always"; | ||
424 | RestartSec = "5"; | ||
425 | }; | ||
426 | }; | ||
420 | }; | 427 | }; |
421 | } | 428 | } |