kolla/docker/storm/extend_start.sh
Doug Szumski 91d23981b2 Add support for deploying Apache Storm
The motiviation behind this is to provide Apache Storm for
the Monasca Thresh component which is used for generating
alerts as part of the Monasca Framework.

SHA512 sum is from http://www.us.apache.org/dist/storm/
apache-storm-1.1.2/apache-storm-1.1.2.tar.gz.sha

Change-Id: I6eb6be91470385c824baaeb37f90b582fc88aed4
Partially-Implements: blueprint monasca-containers
2018-07-13 16:09:09 +01:00

10 lines
243 B
Bash

#!/bin/bash
# Create log directory, with appropriate permissions
if [[ ! -d "/var/log/kolla/storm" ]]; then
mkdir -p /var/log/kolla/storm
fi
if [[ $(stat -c %a /var/log/kolla/storm) != "755" ]]; then
chmod 755 /var/log/kolla/storm
fi