Don't put quotes around environment values
This commit is contained in:
parent
13c690b721
commit
c73d642db2
|
@ -248,7 +248,7 @@ let
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=PATH=${def.path}
|
Environment=PATH=${def.path}
|
||||||
${concatMapStrings (n: "Environment=${n}=\"${getAttr n def.environment}\"\n") (attrNames def.environment)}
|
${concatMapStrings (n: "Environment=${n}=${getAttr n def.environment}\n") (attrNames def.environment)}
|
||||||
|
|
||||||
${optionalString (def.preStart != "") ''
|
${optionalString (def.preStart != "") ''
|
||||||
ExecStartPre=${pkgs.writeScript "${name}-prestart.sh" ''
|
ExecStartPre=${pkgs.writeScript "${name}-prestart.sh" ''
|
||||||
|
|
Loading…
Reference in New Issue