Add ability to set VM options from config file in Debian

Description

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.

Environment

Debian systems

Activity

Show:
payne
February 27, 2008, 2:20 AM

http://games.correioweb.com.br/forum/viewtopic.php?t=62699
http://games.correioweb.com.br/forum/viewtopic.php?t=62698
http://games.correioweb.com.br/forum/viewtopic.php?t=62696
http://games.correioweb.com.br/forum/viewtopic.php?t=62695
http://games.correioweb.com.br/forum/viewtopic.php?t=62694
http://games.correioweb.com.br/forum/viewtopic.php?t=62693
http://games.correioweb.com.br/forum/viewtopic.php?t=62692
http://games.correioweb.com.br/forum/viewtopic.php?t=62691
http://games.correioweb.com.br/forum/viewtopic.php?t=62690
http://games.correioweb.com.br/forum/viewtopic.php?t=62689
http://games.correioweb.com.br/forum/viewtopic.php?t=62688
http://games.correioweb.com.br/forum/viewtopic.php?t=62687
http://games.correioweb.com.br/forum/viewtopic.php?t=62686
http://games.correioweb.com.br/forum/viewtopic.php?t=62685
http://games.correioweb.com.br/forum/viewtopic.php?t=62684
http://games.correioweb.com.br/forum/viewtopic.php?t=62683
http://games.correioweb.com.br/forum/viewtopic.php?t=62682
http://games.correioweb.com.br/forum/viewtopic.php?t=62681
http://games.correioweb.com.br/forum/viewtopic.php?t=62679
http://games.correioweb.com.br/forum/viewtopic.php?t=62678
http://games.correioweb.com.br/forum/viewtopic.php?t=62677
http://games.correioweb.com.br/forum/viewtopic.php?t=62676
http://games.correioweb.com.br/forum/viewtopic.php?t=62675
http://games.correioweb.com.br/forum/viewtopic.php?t=62674
http://games.correioweb.com.br/forum/viewtopic.php?t=62673
http://games.correioweb.com.br/forum/viewtopic.php?t=62672
http://games.correioweb.com.br/forum/viewtopic.php?t=62669
http://games.correioweb.com.br/forum/viewtopic.php?t=62668
http://games.correioweb.com.br/forum/viewtopic.php?t=62667
http://games.correioweb.com.br/forum/viewtopic.php?t=62666
http://games.correioweb.com.br/forum/viewtopic.php?t=62665
http://games.correioweb.com.br/forum/viewtopic.php?t=62664
http://games.correioweb.com.br/forum/viewtopic.php?t=62663
http://games.correioweb.com.br/forum/viewtopic.php?t=62662
http://games.correioweb.com.br/forum/viewtopic.php?t=62661
http://games.correioweb.com.br/forum/viewtopic.php?t=62660
http://games.correioweb.com.br/forum/viewtopic.php?t=62659
http://games.correioweb.com.br/forum/viewtopic.php?t=62658
http://games.correioweb.com.br/forum/viewtopic.php?t=62657
http://games.correioweb.com.br/forum/viewtopic.php?t=62656
http://games.correioweb.com.br/forum/viewtopic.php?t=62655
http://games.correioweb.com.br/forum/viewtopic.php?t=62654
http://games.correioweb.com.br/forum/viewtopic.php?t=62653
http://games.correioweb.com.br/forum/viewtopic.php?t=62652
http://games.correioweb.com.br/forum/viewtopic.php?t=62651
http://games.correioweb.com.br/forum/viewtopic.php?t=62650
http://games.correioweb.com.br/forum/viewtopic.php?t=62649
http://games.correioweb.com.br/forum/viewtopic.php?t=62648
http://games.correioweb.com.br/forum/viewtopic.php?t=62647
http://games.correioweb.com.br/forum/viewtopic.php?t=62645
http://games.correioweb.com.br/forum/viewtopic.php?t=62644
http://games.correioweb.com.br/forum/viewtopic.php?t=62643
http://games.correioweb.com.br/forum/viewtopic.php?t=62642
http://games.correioweb.com.br/forum/viewtopic.php?t=62641
http://games.correioweb.com.br/forum/viewtopic.php?t=62640
http://games.correioweb.com.br/forum/viewtopic.php?t=62639
http://games.correioweb.com.br/forum/viewtopic.php?t=62638
http://games.correioweb.com.br/forum/viewtopic.php?t=62626
http://games.correioweb.com.br/forum/viewtopic.php?t=62625
http://games.correioweb.com.br/forum/viewtopic.php?t=62624
http://games.correioweb.com.br/forum/viewtopic.php?t=62621
http://games.correioweb.com.br/forum/viewtopic.php?t=62619
http://games.correioweb.com.br/forum/viewtopic.php?t=62618
http://games.correioweb.com.br/forum/viewtopic.php?t=62616
http://games.correioweb.com.br/forum/viewtopic.php?t=62615
http://games.correioweb.com.br/forum/viewtopic.php?t=62613
http://games.correioweb.com.br/forum/viewtopic.php?t=62612
http://games.correioweb.com.br/forum/viewtopic.php?t=62611
http://games.correioweb.com.br/forum/viewtopic.php?t=62610
http://games.correioweb.com.br/forum/viewtopic.php?t=62609
http://games.correioweb.com.br/forum/viewtopic.php?t=62608
http://games.correioweb.com.br/forum/viewtopic.php?t=62607
http://games.correioweb.com.br/forum/viewtopic.php?t=62605
http://games.correioweb.com.br/forum/viewtopic.php?t=62604
http://games.correioweb.com.br/forum/viewtopic.php?t=62603
http://games.correioweb.com.br/forum/viewtopic.php?t=62602
http://games.correioweb.com.br/forum/viewtopic.php?t=62600
http://games.correioweb.com.br/forum/viewtopic.php?t=62599
http://games.correioweb.com.br/forum/viewtopic.php?t=62598
http://games.correioweb.com.br/forum/viewtopic.php?t=62597
http://games.correioweb.com.br/forum/viewtopic.php?t=62596
http://games.correioweb.com.br/forum/viewtopic.php?t=62595
http://games.correioweb.com.br/forum/viewtopic.php?t=62594
http://games.correioweb.com.br/forum/viewtopic.php?t=62593
http://games.correioweb.com.br/forum/viewtopic.php?t=62592
http://games.correioweb.com.br/forum/viewtopic.php?t=62591
http://games.correioweb.com.br/forum/viewtopic.php?t=62590
http://games.correioweb.com.br/forum/viewtopic.php?t=62589
http://games.correioweb.com.br/forum/viewtopic.php?t=62588
http://games.correioweb.com.br/forum/viewtopic.php?t=62587
http://games.correioweb.com.br/forum/viewtopic.php?t=62586
http://games.correioweb.com.br/forum/viewtopic.php?t=62585
http://games.correioweb.com.br/forum/viewtopic.php?t=62584
http://games.correioweb.com.br/forum/viewtopic.php?t=62583
http://games.correioweb.com.br/forum/viewtopic.php?t=62582
http://games.correioweb.com.br/forum/viewtopic.php?t=62581
http://games.correioweb.com.br/forum/viewtopic.php?t=62580
http://games.correioweb.com.br/forum/viewtopic.php?t=62579
http://games.correioweb.com.br/forum/viewtopic.php?t=62578
http://games.correioweb.com.br/forum/viewtopic.php?t=62577
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95698
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95695
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95694
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95693
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95692
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95691
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95690
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95689
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95688
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95686
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95685
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95684
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95683
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95682
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95681
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95680
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95679
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95677
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95676
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95675
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95674
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95673
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95672
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95670
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95669
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95667
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95665
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95663
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95661
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95659
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95654
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95652
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95650
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95648
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95645
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95643
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95642
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95640
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95638
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95634
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95632
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95630
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95628
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95602
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95627
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95626
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95625
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95624
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95621
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95620
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95619
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95616
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95615
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95595
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95614
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95613
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95611
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95609
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95608
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95607
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95606
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95605
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95604
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95601
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95600
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95599
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95598
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95597
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95596
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95594
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95593
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95592
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95589
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95588
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95587
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95585
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95584
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95582
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95581
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95579
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95578
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95577
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95576
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95574
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95573
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95572
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95571
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95570
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95569
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95568
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95567
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95566
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95564
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95563
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95560
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95559
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95558
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95557
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95556
http://flirtanika.of.by/phpBB2/viewtopic.php?t=95555

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.

Fixed

Assignee

Daniel Henninger

Reporter

Daniel Henninger