Docker/run/all.sh
This commit is contained in:
parent
d14ad1de6f
commit
f832e0f65c
|
@ -31,7 +31,7 @@ if [ $isRedis = "y" ]; then
|
|||
echo "清空旧配置"
|
||||
cat /dev/null > /opt/docker-run/$redisName/conf/redis.conf
|
||||
echo "写入新配置"
|
||||
cat <<EOF >> /opt/docker-run/redis/$redisName/redis.conf
|
||||
cat <<EOF >> /opt/docker-run/$redisName/conf/redis.conf
|
||||
bind $host
|
||||
daemonize NO
|
||||
protected-mode no
|
||||
|
|
Loading…
Reference in New Issue
Block a user