forked from mirrors/nixpkgs
nixos/prometheus/postfix: enable systemd by default
This commit is contained in:
parent
e80fa27968
commit
edcb73f6b5
|
@ -42,9 +42,13 @@ in
|
|||
'';
|
||||
};
|
||||
systemd = {
|
||||
enable = mkEnableOption ''
|
||||
reading metrics from the systemd-journal instead of from a logfile
|
||||
'';
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = ''
|
||||
Whether to enable reading metrics from the systemd journal instead of from a logfile
|
||||
'';
|
||||
};
|
||||
unit = mkOption {
|
||||
type = types.str;
|
||||
default = "postfix.service";
|
||||
|
|
Loading…
Reference in a new issue