15954: Move passenger temp files into tempdir.
authorTom Clegg <tom@tomclegg.ca>
Wed, 19 Feb 2020 15:23:47 +0000 (10:23 -0500)
committerTom Clegg <tom@tomclegg.ca>
Thu, 20 Feb 2020 19:25:03 +0000 (14:25 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

lib/boot/cmd.go

index d8a915b18ade6c555937c035c5876d87dbd618bd..105c94e9ff32168818b7714e3fdba499c15a9425 100644 (file)
@@ -196,6 +196,7 @@ func (boot *Booter) run(cfg *arvados.Config) error {
        boot.cleanEnv()
        boot.setEnv("ARVADOS_CONFIG", boot.configfile)
        boot.setEnv("RAILS_ENV", boot.ClusterType)
+       boot.setEnv("TMPDIR", boot.tempdir)
        boot.prependEnv("PATH", filepath.Join(boot.LibPath, "bin")+":")
 
        boot.cluster, err = cfg.GetCluster("")