Configuration 无法为自定义位置配置temp/tmp目录

Configuration 无法为自定义位置配置temp/tmp目录,configuration,sonarqube,sonarqube5.1,Configuration,Sonarqube,Sonarqube5.1,SONARQU应安装在/opt/sonar 我在/opt/sonar/conf/sonar.properties sonar.path.temp=/data/sonar/temp 因此,重新启动Sonarqube后,会有一个目录/data/sonar/temp,其中包括一个dir“tc”和一个文件“sharedmemory”等等 但是几秒钟后,在/opt/sonar中还有标准的temp dir,其中包括tmpdir 是否可以将完整的临时文件夹移动到自定义位置 提前感谢, Steffen什么是/

SONARQU应安装在
/opt/sonar

我在
/opt/sonar/conf/sonar.properties

sonar.path.temp=/data/sonar/temp
因此,重新启动Sonarqube后,会有一个目录
/data/sonar/temp
,其中包括一个dir
“tc”
和一个文件
“sharedmemory”
等等

但是几秒钟后,在
/opt/sonar
中还有标准的temp dir,其中包括
tmp
dir

是否可以将完整的临时文件夹移动到自定义位置

提前感谢,


Steffen

什么是/opt/sonar/tmp的内容?它不是/opt/sonar/tmp。重新启动Sonarqube后,我配置为显示在/data/sonar/temp中的目录temp(因为有更多的磁盘空间)也显示在默认位置/opt/sonar/temp中。In/opt/sonar/temp是一个目录tmp,其中包含大量dat文件,用于分析过程中出现的所有问题。这个目录在一段时间后会变大,因此我希望它在配置时出现在/data/sonar/temp中。但这不起作用。