278bcdb154
Implements docker container template for OpenDaylight. Change-Id: Icdcff77f0f6088f5a4db1bf77e37334dbd42074f Partially-Implements: blueprint opendaylight-support
11 lines
258 B
Bash
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
|