fix: doh! I told newsyslog that there was no process to notify

This commit is contained in:
Jeremy Wall 2024-06-06 08:20:25 -04:00
parent 78805936bf
commit e45db483c4

View File

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