kolla/docker/trove/trove-base/extend_start.sh
zhubingbing 6eccfe5897 Fix trove dockerfile
change to kolla_extend_start to kolla_trove_extend_start
add extend_start.sh in trove dockerfile

Change-Id: Ifb12ef92d63bc0187f734da66642b016076bee10
Closes-Bug: #1641395
2016-11-14 07:07:32 +00:00

11 lines
233 B
Bash

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