Browse Source

Remove path work around for kibana

Kibana 5 shares a common path across distros now, so this workaround is
no longer required.

Change-Id: Ib922bb4b44a31ae41dcc405d5bdcc37b4011cfa5
changes/77/613277/2
Paul Bourke 3 years ago
committed by Paul Bourke (pbourke)
parent
commit
72945b0926
  1. 7
      docker/kibana/extend_start.sh

7
docker/kibana/extend_start.sh

@ -1,13 +1,6 @@
#!/bin/bash
KIBANA_LOG_DIR="/var/log/kolla/kibana"
KIBANA_DEFAULT_EXECUTABLE="/opt/kibana/bin/kibana"
# (niedbalski): debian installs under /usr/share, so lets create
# a symlink to the common executable location see LP #1772750.
if [[ ! -e ${KIBANA_DEFAULT_EXECUTABLE} ]] && [[ -f /usr/share/kibana/bin/kibana ]]; then
mkdir -p $(dirname ${KIBANA_DEFAULT_EXECUTABLE}) && ln -s /usr/share/kibana/bin/kibana ${KIBANA_DEFAULT_EXECUTABLE}
fi
if [[ ! -d "${KIBANA_LOG_DIR}" ]]; then
mkdir -p "${KIBANA_LOG_DIR}"

Loading…
Cancel
Save