d935f2da68
Partially implements: blueprint heka Change-Id: I91a977c6a3632c570f7a6054c8de3f5e3cb6932c
9 lines
194 B
Bash
9 lines
194 B
Bash
#!/bin/bash
|
|
|
|
if [[ ! -d "/var/log/kolla/magnum" ]]; then
|
|
mkdir -p /var/log/kolla/magnum
|
|
fi
|
|
if [[ $(stat -c %a /var/log/kolla/magnum) != "755" ]]; then
|
|
chmod 755 /var/log/kolla/magnum
|
|
fi
|