kolla/docker/opendaylight/extend_start.sh
Marcus G K Williams 278bcdb154 Add OpenDaylight Container to kolla
Implements docker container template for OpenDaylight.

Change-Id: Icdcff77f0f6088f5a4db1bf77e37334dbd42074f
Partially-Implements: blueprint opendaylight-support
2017-04-18 12:57:55 -07:00

11 lines
258 B
Bash

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