kolla/docker/zun/zun-base/extend_start.sh
jianyi 4c2156a45c Add zun container
Change-Id: Id11d00b8577f6c614b7001474d9a113ee6eca1fe
Partially-implements: bp add-zun-container-for-kolla
2016-12-29 08:09:28 +00:00

11 lines
223 B
Bash

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