summaryrefslogtreecommitdiffstats
path: root/packages/base/src/files/install/servers/brmsgw
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2018-05-24 11:04:37 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-24 11:04:37 +0000
commit2f8ab5851fb070fac82472cf8a3c8542a657ca01 (patch)
treec3c68f4ebc6539d2428268da1cba9dd39a1f42e7 /packages/base/src/files/install/servers/brmsgw
parenta08e498c52e5f778ec85cb698ac985488319b9f3 (diff)
parentee033842018375e0200a9b8f2e0dc813974440fd (diff)
Merge "Replace LOGPATH with LOGSUFFIX"
Diffstat (limited to 'packages/base/src/files/install/servers/brmsgw')
-rw-r--r--packages/base/src/files/install/servers/brmsgw/init.d/brmsgw5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/base/src/files/install/servers/brmsgw/init.d/brmsgw b/packages/base/src/files/install/servers/brmsgw/init.d/brmsgw
index 0356b22ab..c951b12a4 100644
--- a/packages/base/src/files/install/servers/brmsgw/init.d/brmsgw
+++ b/packages/base/src/files/install/servers/brmsgw/init.d/brmsgw
@@ -34,7 +34,7 @@ function stop() {
# unmonitored start, does not change monitor status (immutable)
function um_start() {
- unset JMX_JAVA_OPTS JVM_SECURITY
+ unset JMX_JAVA_OPTS JVM_SECURITY CMD_JAVA_OPTS
JMX_JAVA_OPTS+=("-Dcom.sun.management.jmxremote")
JMX_JAVA_OPTS+=("-Dcom.sun.management.jmxremote.port=$BRMSGW_JMX_PORT")
JMX_JAVA_OPTS+=("-Dcom.sun.management.jmxremote.ssl=false")
@@ -44,8 +44,9 @@ function um_start() {
JVM_SECURITY+=("-Djavax.net.ssl.keyStorePassword=${KEYSTORE_PASSWD}")
JVM_SECURITY+=("-Djavax.net.ssl.trustStore=${POLICY_HOME}/etc/ssl/policy-keystore")
JVM_SECURITY+=("-Djavax.net.ssl.trustStorePassword=${KEYSTORE_PASSWD}")
+ CMD_JAVA_OPTS+=("-DPOLICY_LOGS=${POLICY_LOGS}")
- JAVA_OPTS=("${JVM_JAVA_OPTS[@]}" "${JMX_JAVA_OPTS[@]}" "${JVM_SECURITY[@]}")
+ JAVA_OPTS=("${JVM_JAVA_OPTS[@]}" "${JMX_JAVA_OPTS[@]}" "${JVM_SECURITY[@]}" "${CMD_JAVA_OPTS[@]}")
cd $POLICY_HOME/servers/brmsgw
mkdir -p $POLICY_LOGS/policy/brmsgw 2>/dev/null