Merge pull request #97758 from yorickvP/patch-3
nixos/victoriametrics: escape newlines in ExecStart
This commit is contained in:
commit
e0759a4973
@ -49,8 +49,8 @@ let cfg = config.services.victoriametrics; in
|
|||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${cfg.package}/bin/victoria-metrics \
|
${cfg.package}/bin/victoria-metrics \
|
||||||
-storageDataPath=/var/lib/victoriametrics \
|
-storageDataPath=/var/lib/victoriametrics \
|
||||||
-httpListenAddr ${cfg.listenAddress}
|
-httpListenAddr ${cfg.listenAddress} \
|
||||||
-retentionPeriod ${toString cfg.retentionPeriod}
|
-retentionPeriod ${toString cfg.retentionPeriod} \
|
||||||
${lib.escapeShellArgs cfg.extraOptions}
|
${lib.escapeShellArgs cfg.extraOptions}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user