Docker/run/all.sh

This commit is contained in:
ZhuoQinghui 2022-03-03 14:48:27 +08:00
parent d14ad1de6f
commit f832e0f65c

View File

@ -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