kolla/docker/qdrouterd/extend_start.sh
Andrew Smith f034a8b209 Add qdrouterd container
The qdrouterd is a high performance, lightweight AMQP 1.0 message
router that support oslo.messaging RPC communications.

Change-Id: I42783fb50c9f6750071d797b3f07a6283454c7a7
Implements: blueprint dispatch-router-messaging-component
2017-05-18 09:39:31 -04:00

11 lines
288 B
Bash

#!/bin/bash
# Create log directory, with appropriate permissions
QDROUTERD_LOG_DIR="/var/log/kolla/qdrouterd"
if [[ ! -d "${QDROUTERD_LOG_DIR}" ]]; then
mkdir -p ${QDROUTERD_LOG_DIR}
fi
if [[ $(stat -c %a ${QDROUTERD_LOG_DIR}) != "755" ]]; then
chmod 755 ${QDROUTERD_LOG_DIR}
fi