linagora / linshare

LinShare
https://www.linshare.org/
GNU Affero General Public License v3.0
476 stars 86 forks source link

tmpdir configuration #231

Closed lacrimal closed 2 years ago

lacrimal commented 2 years ago

Hi, linshare.properties as well as github help says that location of temporary folder can be set using:

# If you want to change the location of tmp directory
# JAVA_OPTS="${JAVA_OPTS} -Djava.io.tmpdir=/tmp/"

Installation instructions on: https://github.com/linagora/linshare/blob/master/documentation/EN/installation/linshare-install-centos.md#tomcat says this can be set using /etc/sysconfig/tomcat

This will not take effect with at least with tomcat 9+, -Djava.io.tmpdir will be still overridden.

bellow should be used instead:

CATALINA_TMPDIR='/path/to/tmp/'

Tomcat recommended way is to use/create tomcat bin/setenv.sh file.

Also - is there any circumstance to use JAVA_OPTS instead CATALINA_OPTS for any tomcat specific settings ?

aduprat commented 2 years ago

Hi,

Thank you for this issue.

The information is well in the Debian version. I will not modify the CentOS installation guide, as we are not supporting this OS anymore (marking it has deprecated).

I modified the property file in order to have consistent information between all the documentations.

Regards, Antoine

lacrimal commented 2 years ago

The information is well in the Debian version. I will not modify the CentOS installation guide, as we are not supporting this OS anymore (marking it has deprecated).

So only supported platform will be Debian ?

fmartin-linagora commented 2 years ago

Officially only Debian version will be supported, but of course LinShare should work on other Linux Distribution. So it just mean that we won't provide/update documentation for CentOS.