#!/bin/bash

sharedconf="/usr/share/kibana/sharedconf"

if [ -d "$sharedconf" ]; then
	chmod 665 $sharedconf/*
	cp $sharedconf/* /usr/share/kibana/config
fi

/usr/local/bin/kibana-docker "$@"

