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 ''; }; };