Skip to content

Commit bb6f723

Browse files
committed
nixos/prometheus: use the non-alias path for dovecot exporter
1 parent 063c28c commit bb6f723

File tree

1 file changed

+1
-1
lines changed
  • nixos/modules/services/monitoring/prometheus/exporters

1 file changed

+1
-1
lines changed

nixos/modules/services/monitoring/prometheus/exporters/dovecot.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ in
8989
serviceConfig = {
9090
DynamicUser = false;
9191
ExecStart = ''
92-
${pkgs.prometheus-dovecot-exporter}/bin/dovecot_exporter \
92+
${lib.getExe pkgs.dovecot_exporter} \
9393
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
9494
--web.telemetry-path ${cfg.telemetryPath} \
9595
--dovecot.socket-path ${escapeShellArg cfg.socketPath} \

0 commit comments

Comments
 (0)