summaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas/salt-formula-opendaylight/opendaylight/files/setenv.shell
blob: 2921ade148f574b929188dde618e2124ad7a65a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
##############################################################################
# Copyright (c) 2017 Mirantis Inc. and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
{%- from "opendaylight/map.jinja" import server with context -%}
# export JAVA_HOME # Location of Java installation
export JAVA_MIN_MEM={{ server.java_min_mem }} # Minimum memory for the JVM
export JAVA_MAX_MEM={{ server.java_max_mem }} # Maximum memory for the JVM
# export JAVA_PERM_MEM # Minimum perm memory for the JVM
export JAVA_MAX_PERM_MEM=512m # Maximum perm memory for the JVM
export EXTRA_JAVA_OPTS='{{ server.java_extra_opts }}' # Additional JVM options
# export KARAF_HOME # Karaf home folder
# export KARAF_DATA # Karaf data folder
# export KARAF_BASE # Karaf base folder
# export KARAF_ETC  # Karaf etc  folder
# export KARAF_OPTS # Additional available Karaf options
# export KARAF_DEBUG # Enable debug mode
# export KARAF_REDIRECT # Enable/set the std/err redirection when using bin/start