Minion heapsize arguments

Hi!

We got a lot of “out of memory” problem on one of our minion. And i was recommended to increase the heapsize.
I did. But i got confused when systemD tell me the following:

Aug 30 10:56:48 imonmin01 systemd[1]: minion.service: **Ignoring** invalid environment assignment 'export JAVA_MIN_MEM=8192M': /etc/default/minion
Aug 30 10:56:48 imonmin01 systemd[1]: minion.service: **Ignoring** invalid environment assignment 'export JAVA_MAX_MEM=16384M': /etc/default/minion
Aug 30 10:56:48 imonmin01 systemd[1]: minion.service: **Ignoring** invalid environment assignment 'export JAVA_OPTS=-Xms${JAVA_MIN_MEM} -Xmx${JAVA_MAX_MEM} -XX:+Un

It seems that the argument passes in:
ps -ef | grep java:

root      6814  6761 31 10:56 ?        00:01:18 /usr/lib/jvm/java-8-oracle/bin/java -Xms8192M -Xmx16384M -XX:+UnlockDiagnosticVMOptions -Dcom.sun.management.jmxremote -Xms8192M -Xmx16384M -XX:+UnlockDiagnosticVMOptions -XX:+HeapDumpOnOutOfMemoryError -Djava.endorsed.dirs=/usr/lib/jvm/java-8-oracle/jre/lib/endorsed:/usr/lib/jvm/java-8-oracle/lib/endorsed:/usr/share/minion/lib/endorsed -Djava.ext.dirs=/usr/lib/jvm/java-8-oracle/jre/lib/ext:/usr/lib/jvm/java-8-oracle/lib/ext:/us

Why does systemD tells me this: Ignoring invalid environment assignment
Thanks!

Opennms:
26.1.0