brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drigodwin <...@git.apache.org>
Subject [GitHub] brooklyn-dist pull request #104: Improve RPM/DEB packages
Date Wed, 13 Sep 2017 13:18:58 GMT
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)


---

Mime
View raw message