upstart: quote environment vars. John Altobelli hit the case TZ=New York
svn path=/nixos/trunk/; revision=19633
This commit is contained in:
parent
06aeb7d87f
commit
aad3d21ceb
@ -40,7 +40,7 @@ let
|
||||
${optionalString (job.stopOn != "") "stop on ${job.stopOn}"}
|
||||
|
||||
env PATH=${makeSearchPath "bin" upstartPath}:${makeSearchPath "sbin" upstartPath}
|
||||
${concatMapStrings (n: "env ${n}=${getAttr n job.environment}\n") (attrNames job.environment)}
|
||||
${concatMapStrings (n: "env ${n}=\"${getAttr n job.environment}\"\n") (attrNames job.environment)}
|
||||
|
||||
${optionalString (job.preStart != "") ''
|
||||
pre-start script
|
||||
|
Loading…
Reference in New Issue
Block a user