Openfire 3.3.2 / Linux / vmoptions

I am using Openfire 3.3.2 on an linux system. Is there any way to set JVM parameters -Xms (minimum heapsize) and -Xmx (maximum heapsize)?

The install-guide says under windows its enough to create a text file called openfire-service.vmoptions. Under Linux this doesn’'t seem to work.

Currently I modified /etc/init.d/openfire in line 85:

OPENFIRE_OPTS="-Xms128m -Xmx128m"

But I will have to redo this changes every openfire update. Is there any better way?

thanks for help,

Coolcat

Add the OPENFIRE_OPTS="-Xms128m -Xmx128m" to

/etc/sysconfig/openfire

thanks, works.

But are you sure that this file will not overwritten while updating openfire with rpm -Uhv openfire-3.3.*-1.i386.rpm?