Bug#925969: tomcat8: Variable expansion not supported in /etc/default/tomcat8

Emmanuel Bourg ebourg at apache.org
Wed Apr 3 12:55:08 BST 2019


Le 29/03/2019 à 16:32, Igor Blanco a écrit :

> The issue seems to be related to the usage of ${JAVA_OPTS} as a variable expansion. Systemd does not supporte variable expansion in "Environment" attributes
> and it seems like it doesn't either when environmentFiles are loaded.

Thank you for reporting this issue Igor. /etc/default/tomcat8 should
probably be sourced from tomcat-start.sh instead of being used with the
EnvironmentFile directive. It looks like that's what upstream suggests [1].

[1] https://github.com/systemd/systemd/issues/4416#issuecomment-255169835



More information about the pkg-java-maintainers mailing list