I am migrating from upstart to systemd. I am having a bit of trouble making the transition with the EnvironmentFile directive. I cannot get this EnvironmentFile to work:######################################################### Catalina SettingsCLUSTER_BASE=/d01/tomcat/prod/xyzCATALINA_BASE=$CLUSTER_BASE/1CATALINA_TMPDIR=$CATALINA_BASE/tempCATALINA_HOME=/usr/share/tomcat7CATALINA_PID=/run/tomcat/tc-prod-xyz-1.pid######################################################### Java SettingsJAVA_HOME=/usr/lib/jvm/default-java/jreJAVA_OPTS=-Djava.awt.headless=trueJAVA_OPTS=$JAVA_OPTS -serverJAVA_OPTS=$JAVA_OPTS -Xms2048mJAVA_OPTS=$JAVA_OPTS -Xmx2048mJAVA_OPTS=$JAVA_OPTS -XX:MaxPermSize=2048mJAVA_OPTS=$JAVA_OPTS -XX:+UseParallelGCJAVA_OPTS=$JAVA_OPTS -XX:+AggressiveHeapJAVA_OPTS=$JAVA_OPTS -javaagent:$CLUSTER_BASE/newrelic/newrelic.jarIt would appear that this type of statement where I re-use a variable:JAVA_OPTS=$JAVA_OPTS -XX:+UseParallelGCis not supported in systemd like it was in upstart. Does systemd support something like this or do I need to make one long hard to read statement?
systemd, EnvironmentFile, re-using variables - how?
systemd;environment variables