adds support for min/max and max perm size memory settings for setenv.sh
template of liferay