4f903087e6
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
10 lines
191 B
Bash
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
|