nixos/alertmanager: Fix startup

Fixed a problem with quotation marks introduced in commit
23d5d9bbe9 merged with #78358.
This commit is contained in:
Milan Pässler 2020-01-28 00:32:11 +01:00
parent e59dcf8cce
commit 9414f03d97

View File

@ -157,8 +157,8 @@ in {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
preStart = ''
${lib.getBin pkgs.envsubst}/bin/envsubst -o /tmp/alert-manager-substituted.yaml" \
-i ${alertmanagerYml}"
${lib.getBin pkgs.envsubst}/bin/envsubst -o "/tmp/alert-manager-substituted.yaml" \
-i "${alertmanagerYml}"
'';
serviceConfig = {
Restart = "always";