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 = {
|
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";
|
||||||
|
|
Loading…
Reference in a new issue