From e45db483c4707275be729d6e9a9a1713b3ef33a0 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Thu, 6 Jun 2024 08:20:25 -0400 Subject: [PATCH] fix: doh! I told newsyslog that there was no process to notify --- nix/base-system/modules/darwin-monitor.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nix/base-system/modules/darwin-monitor.nix b/nix/base-system/modules/darwin-monitor.nix index 7d6aa02..ea52e2f 100644 --- a/nix/base-system/modules/darwin-monitor.nix +++ b/nix/base-system/modules/darwin-monitor.nix @@ -224,22 +224,22 @@ with lib; environment.etc."newsyslog.d/org.nixos.prometheus.conf" = mkIf config.services.prometheus.enable { text = '' # logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] - ${prometheusOutPath} zaphar:staff 644 10 1000 * BNJ ${prometheusPidPath} 1 - ${prometheusErrPath} zaphar:staff 644 10 1000 * BNJ ${prometheusPidPath} 1 + ${prometheusOutPath} zaphar:staff 644 10 1000 * BJ ${prometheusPidPath} 1 + ${prometheusErrPath} zaphar:staff 644 10 1000 * BJ ${prometheusPidPath} 1 ''; }; environment.etc."newsyslog.d/org.nixos.heracles.conf" = mkIf config.services.prometheus.enable { text = '' # logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] - ${heraclesOutPath} zaphar:staff 644 10 1000 * BNJ ${heraclesPidPath} 1 - ${heraclesErrPath} zaphar:staff 644 10 1000 * BNJ ${heraclesPidPath} 1 + ${heraclesOutPath} zaphar:staff 644 10 1000 * BJ ${heraclesPidPath} 1 + ${heraclesErrPath} zaphar:staff 644 10 1000 * BJ ${heraclesPidPath} 1 ''; }; environment.etc."newsyslog.d/org.nixos.durnitisp.conf" = mkIf config.services.durnitisp.enable { text = '' # logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] - ${durnitispOutPath} zaphar:staff 644 10 1000 * BNJ ${prometheusPidPath} 1 - ${durnitispErrPath} zaphar:staff 644 10 1000 * BNJ ${prometheusPidPath} 1 + ${durnitispOutPath} zaphar:staff 644 10 1000 * BJ ${prometheusPidPath} 1 + ${durnitispErrPath} zaphar:staff 644 10 1000 * BJ ${prometheusPidPath} 1 ''; }; };