kolla-ansible/docker/grafana/extend_start.sh
Mauricio Lima 18785f416c Remove unneeded blank lines
TrivialFix

Change-Id: I778d0a55adf1302c7a6f0702fec3a381d851f3df
2016-10-06 12:42:27 -03:00

9 lines
198 B
Bash

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