15954: Move passenger temp files into tempdir.
[arvados.git] / 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("")