Skip to content

Commit

Permalink
nixos/victoriametrics: escape newlines in ExecStart
Browse files Browse the repository at this point in the history
Fixes #96206
  • Loading branch information
yorickvP committed Sep 11, 2020
1 parent a4ba092 commit c1bef53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/services/databases/victoriametrics.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ let cfg = config.services.victoriametrics; in
ExecStart = ''
${cfg.package}/bin/victoria-metrics \
-storageDataPath=/var/lib/victoriametrics \
-httpListenAddr ${cfg.listenAddress}
-retentionPeriod ${toString cfg.retentionPeriod}
-httpListenAddr ${cfg.listenAddress} \
-retentionPeriod ${toString cfg.retentionPeriod} \
${lib.escapeShellArgs cfg.extraOptions}
'';
};
Expand Down

0 comments on commit c1bef53

Please sign in to comment.