kolla/docker/redis/redis-base/extend_start.sh
Mathias Ewald 4f903087e6 Add Redis Sentinel
Introduce base container for redis

Rebase the existing redis container on the new base container

Provide a container for redis-sentinel to create a highly available cluster

Change-Id: I683f02930a870c01dbc71c84060a65c72a8e568e
2017-07-24 13:29:20 +00:00

10 lines
191 B
Bash

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