git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/prometheus-node-exporter: fix systemd unit for systemd 242 (#63540)

Avoid having a backslash at the end of ExecStart=. See https://github.com/NixOS/nixpkgs/issues/63533 for details about the change to systemd's unit parser. Fixes #63383.

commit41c6d7adfcad4ed4fc6f22140ab6c4285348d89c authorIvan Kozik <ivan@ludios.org> dateThu 20 Jun 2019, 21:04 (7 years ago) parentafdcc40
1 file changed+1−2
nixos/modules/services/monitoring/prometheus/exporters/node.nix+1−2
nixos/modules/services/monitoring/prometheus/exporters/node.nix+1−2
@@ -32,8 +32,7 @@ in
3232 ${pkgs.prometheus-node-exporter}/bin/node_exporter \
3333 ${concatMapStringsSep " " (x: "--collector." + x) cfg.enabledCollectors} \
3434 ${concatMapStringsSep " " (x: "--no-collector." + x) cfg.disabledCollectors} \
35− --web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
36− ${concatStringsSep " \\\n " cfg.extraFlags}
35+ --web.listen-address ${cfg.listenAddress}:${toString cfg.port} ${concatStringsSep " " cfg.extraFlags}
3736 '';
3837 };
3938 };