kolla/docker/logstash/extend_start.sh
Doug Szumski 72f85b4226 Add support for building Logstash
Add support for building Logstash 5.x for both Centos
and Debian based x86 distros.

Partially-Implements: blueprint monasca-containers
Change-Id: I4e2422d1cd2ae4c1f4aa63e8e543e725a1dc840c
2018-07-11 13:56:47 +00:00

9 lines
202 B
Bash

#!/bin/bash
if [[ ! -d "/var/log/kolla/logstash" ]]; then
mkdir -p /var/log/kolla/logstash
fi
if [[ $(stat -c %a /var/log/kolla/logstash) != "755" ]]; then
chmod 755 /var/log/kolla/logstash
fi