Add ability to set VM options from config file in Debian


From a comment in my blog post:
here comes a little suggestion/feature request concerning the debian /etc/init.d/openfire script.
as probably many people out there (like me) use openfire on one of those crappy (but cheeaaap) virtual dedicated systems (vps) with limited memory, it would be cool if we could store somewhere in the config the maximum memory (without manuall editing the init script and putting the -Xmx100m parameter in the DAEMON-OPTS line.

if the init script would read this setting from the /etc/openfire config somewhere, it would be safe to just overwrite the init file with every update (to get the changes there as well - if there are any)

While Debian doesn't have something standard like redhat based linuxes (/etc/sysconfnig), that's a good idea, just put it in /etc/openfire somewhere.


Debian systems


February 27, 2008, 2:20 AM

Daniel Henninger
January 23, 2008, 1:54 AM

Was misbehaving due to misplaced DAEMON_OPTS settings.

Daniel Henninger
January 23, 2008, 1:53 AM

Turns out it's not that the option is broken, but rather that it's misplaced.

Fernando Ribeiro
January 23, 2008, 1:14 AM
Daniel Henninger
January 22, 2008, 3:03 AM

Hrm. This functionality already exists. Should have checked better before I created this issue.



Daniel Henninger


Daniel Henninger