Closes #54 Added setenv script to karaf bin
This PR does the following: * adds a setenv script * sets default memory settings * checks if java is installed * sets the local loopback This PR addresses the following issue https://issues.apache.org/jira/browse/BROOKLYN-348 and ensures karaf scripts don't fail silently if java is not installed. Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/1a1eae72 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/1a1eae72 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/1a1eae72 Branch: refs/heads/master Commit: 1a1eae724387ac87049a5ddc71107b07fb36bd4e Parents: cf24ac6 f61cea9 Author: Svetoslav Neykov <[email protected]> Authored: Wed Oct 26 09:27:21 2016 +0300 Committer: Svetoslav Neykov <[email protected]> Committed: Wed Oct 26 09:27:21 2016 +0300 ---------------------------------------------------------------------- .../src/main/resources/bin/setenv | 47 ++++++++++++++++++++ 1 file changed, 47 insertions(+) ----------------------------------------------------------------------
