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
This commit is contained in:
parent
8aac00972d
commit
72945b0926
@ -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…
x
Reference in New Issue
Block a user