6 Dec
2005
6 Dec
'05
9:51 a.m.
On 6 Dec 2005, at 01:05, Michael Dexter wrote:
The solution appears to be that python can use the TMPDIR variable to specify where tmp should default to (reportedly it will try various locations) but, I am not clear how I can add this to Zope's rc script to declare it. I tried it as simply setting the environment variable "set TMPDIR=/tmp" but that gave warnings about the startup logic.
1. Should TMPDIR work? 2. Where should I declare it when using rc scripts? 3. Any chance zope.conf can use it?
zope.conf has a directive "environment" for exactly that purpose. jens