Skip to content

Commit

Permalink
CLOUD-2379 Allow override LAUNCH_DIR
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
  • Loading branch information
ruromero authored and rcernich committed Mar 23, 2018
1 parent d40a813 commit a05ac81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 6 additions & 4 deletions os-logging/configure.sh
Expand Up @@ -12,8 +12,10 @@ else
BIN_HOME="$JBOSS_HOME"
fi

mkdir -p ${BIN_HOME}/bin/launch
cp -r ${ADDED_DIR}/launch/logging.sh ${BIN_HOME}/bin/launch
LAUNCH_DIR=${LAUNCH_DIR:-$BIN_HOME/bin/launch}

chown -R jboss:root ${BIN_HOME}/bin/launch/logging.sh
chmod -R g+rwX ${BIN_HOME}/bin/launch/logging.sh
mkdir -p ${LAUNCH_DIR}
cp -r ${ADDED_DIR}/launch/logging.sh ${LAUNCH_DIR}

chown -R jboss:root ${LAUNCH_DIR}/logging.sh
chmod -R g+rwX ${LAUNCH_DIR}/logging.sh
1 change: 0 additions & 1 deletion os-logging/module.yaml
Expand Up @@ -4,4 +4,3 @@ version: '1.0'
description: os-logging script package.
execute:
- script: configure.sh
user: '185'

0 comments on commit a05ac81

Please sign in to comment.