kolla-ansible/docker/senlin/senlin-base/extend_start.sh
Eduardo Gonzalez 1d399461ac Add Senlin Docker container
Change-Id: I52e08e2df77106969c5975ebda2510ea8aefa8b5
Partially-implements: bp senlin-container
Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
2016-06-30 16:36:25 +02:00

11 lines
243 B
Bash

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