3
0
Fork 0
forked from mirrors/nixpkgs

nixos/prometheus/postfix: enable systemd by default

This commit is contained in:
Linus Heckemann 2020-09-25 14:29:16 +02:00
parent e80fa27968
commit edcb73f6b5

View file

@ -42,9 +42,13 @@ in
''; '';
}; };
systemd = { systemd = {
enable = mkEnableOption '' enable = mkOption {
reading metrics from the systemd-journal instead of from a logfile type = types.bool;
''; default = true;
description = ''
Whether to enable reading metrics from the systemd journal instead of from a logfile
'';
};
unit = mkOption { unit = mkOption {
type = types.str; type = types.str;
default = "postfix.service"; default = "postfix.service";