kolla-ansible/docker/grafana/extend_start.sh
Mathias Ewald 6417595b9f Added grafana container
Added grafana repository to base image

Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Installed grafana from repository

Change-Id: Ib99195ec4522f185f6fd4cebf10e305bb58f69c4
Partially-Implements: Blueprint performance-monitoring
2016-09-12 08:03:39 +00:00

10 lines
199 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