nixos/prometheus-exporters: update documentation

This commit is contained in:
WilliButz 2019-08-02 16:22:41 +02:00
parent 29d765e250
commit 1ce989cce6
No known key found for this signature in database
GPG Key ID: 92582A10F1179CB2

View File

@ -159,8 +159,10 @@ in
# `serviceOpts.script` and `serviceOpts.serviceConfig.ExecStart`
# has to be specified here. This will be merged with the default
# service confiuration.
# Note that by default 'DynamicUser' is 'true'.
serviceOpts = {
serviceConfig = {
DynamicUser = false;
ExecStart = ''
${pkgs.prometheus-postfix-exporter}/bin/postfix_exporter \
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} \