You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by drigodwin <gi...@git.apache.org> on 2017/09/13 13:18:58 UTC

[GitHub] brooklyn-dist pull request #104: Improve RPM/DEB packages

Github user drigodwin commented on a diff in the pull request:

    https://github.com/apache/brooklyn-dist/pull/104#discussion_r138614635
  
    --- Diff: shared-packaging/src/main/resources/service/systemd/brooklyn.service ---
    @@ -22,12 +22,16 @@ Documentation=https://brooklyn.apache.org/documentation/index.html
     [Service]
     Type=simple
     WorkingDirectory=/opt/brooklyn/
    -Environment="JAVA_OPTS=-Dbrooklyn.location.localhost.address=127.0.0.1 -XX:SoftRefLRUPolicyMSPerMB=1 -Dlogback.configurationFile=/etc/brooklyn/logback.xml -Xms256m -Xmx1g"
    -Environment="CLASSPATH=/opt/brooklyn/conf:/opt/brooklyn/lib/patch/*:/opt/brooklyn/lib/brooklyn/*:/opt/brooklyn/lib/dropins/*"
    -ExecStart=/usr/bin/java $JAVA_OPTS -cp "$CLASSPATH" org.apache.brooklyn.cli.Main launch --noGlobalBrooklynProperties --localBrooklynProperties /etc/brooklyn/brooklyn.conf --persist auto
    +Environment="EXTRA_JAVA_OPTS=-Dbrooklyn.location.localhost.address=127.0.0.1 -XX:SoftRefLRUPolicyMSPerMB=1 -Xms256m -Xmx1g"
    --- End diff --
    
    I think we set 2G as the Xmx everywhere else - [see here](https://github.com/apache/brooklyn-dist/blob/master/karaf/apache-brooklyn/src/main/resources/bin/setenv#L21)


---