summaryrefslogtreecommitdiff
path: root/docker/opendaylight/extend_start.sh
blob: 8fdba0726814bef2da3800b25b21f1ea798f9359 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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