Where is the right place to export display variables?

Hi to everyone

Where is the right place to export display variables? i upgrade my openfire from version 3.9.1 to 3.9.3, on version 3.9.1 i export my display variables on /opt/openfire/bin/openfire because i use a headless linux as server, without these exports i can see the graphics on web interface ( see the attached screenshot).

But on the 3.9.3 i already make several tries without sucess, anyone have a tip?