summaryrefslogtreecommitdiffstats
path: root/packages/base/src/files/install
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base/src/files/install')
-rw-r--r--packages/base/src/files/install/servers/brmsgw/init.d/brmsgw1
-rwxr-xr-xpackages/base/src/files/install/servers/common/logparser/init.d/logparserd3
2 files changed, 3 insertions, 1 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 998a36976..0356b22ab 100644
--- a/packages/base/src/files/install/servers/brmsgw/init.d/brmsgw
+++ b/packages/base/src/files/install/servers/brmsgw/init.d/brmsgw
@@ -48,6 +48,7 @@ function um_start() {
JAVA_OPTS=("${JVM_JAVA_OPTS[@]}" "${JMX_JAVA_OPTS[@]}" "${JVM_SECURITY[@]}")
cd $POLICY_HOME/servers/brmsgw
+ mkdir -p $POLICY_LOGS/policy/brmsgw 2>/dev/null
nohup $JAVA_HOME/bin/java -jar "${JAVA_OPTS[@]}" $POLICY_HOME/servers/brmsgw/BRMSGateway.jar>> $POLICY_LOGS/policy/brmsgw/brmsgw.log 2>&1 &
RETVAL=$?
}
diff --git a/packages/base/src/files/install/servers/common/logparser/init.d/logparserd b/packages/base/src/files/install/servers/common/logparser/init.d/logparserd
index e4ad903bc..a8c9d5160 100755
--- a/packages/base/src/files/install/servers/common/logparser/init.d/logparserd
+++ b/packages/base/src/files/install/servers/common/logparser/init.d/logparserd
@@ -25,7 +25,8 @@ function um_start() {
# Redirects default and error output to a log file
cd ${POLICY_HOME}/servers/${COMPONENT}/bin
- nohup $JAVA_HOME/bin/java -jar ${JAVA_OPTS} ${SERVICE} ${SERVER} ${LOGTYPE} >> ${POLICY_LOG}/policy/${COMPONENT}/stdout 2>&1 &
+ mkdir -p ${POLICY_LOGS}/policy/${COMPONENT} 2>/dev/null
+ nohup $JAVA_HOME/bin/java -jar ${JAVA_OPTS} ${SERVICE} ${SERVER} ${LOGTYPE} >> ${POLICY_LOGS}/policy/${COMPONENT}/stdout 2>&1 &
RETVAL=$?
RETVAL=$?
}