kolla/docker/skydive/skydive-base/extend_start.sh
Mathieu Rohon 685cbdaa4f Skydive: Add log directory
Change-Id: I464cb4700ca143c1dbac3c20f7402ddb8cda7ce7
2017-08-04 11:13:40 +02:00

9 lines
198 B
Bash

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