On 06/26/2015 05:32 PM, Martijn Brinkers wrote:
> On 06/26/2015 05:26 PM, Django wrote:
>> Hello,
>>
>> Am 26.06.2015 um 16:58 schrieb Django:
>>
>> JAVA_OPTS="$JAVA_OPTS -Ddjigzo-web.home=/usr/share/djigzo-web"
>> JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true -Xmx128M"
>>
>> On CentOS 7 with Tomcat 7 should it be like that:
>>
>> JAVA_OPTS="-Ddjigzo-web.home=/usr/share/djigzo-web"
>> JAVA_OPTS="-Djava.awt.headless=true -Xmx128M"
>>
>> Isn't it so? :/ I'm not a grait tomcat guru!
> 
> Almost correct. I think by setting JAVA_OPTS like that will override the
> previous setting. That's why it was using $JAVA_OPTS to make sure the
> new value got appended. But, it might be that they completely changed
> this during a minor update :( .. because using $JAVA_OPTS used to work
> correctly. I'll investigate this.

It looks like RedHat changed the Tomcat service to start with systemd.
The file /etc/sysconfig/tomcat is now loaded with the EnvironmentFile
directive and this does not support $ var expansion.

See Environment @
http://www.freedesktop.org/software/systemd/man/systemd.exec.html

I'll update the documentation.

Thanks for reporting.

Kind regards,

Martijn Brinkers

-- 
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

https://www.ciphermail.com

Twitter: http://twitter.com/CipherMail
_______________________________________________
Users mailing list
Users@lists.djigzo.com
https://lists.djigzo.com/lists/listinfo/users

Reply via email to