first commit
This commit is contained in:
commit
098f59b644
3632 changed files with 518046 additions and 0 deletions
12
mailcow/data/conf/redis/redis-conf.sh
Executable file
12
mailcow/data/conf/redis/redis-conf.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
cat <<EOF > /redis.conf
|
||||
requirepass $REDISPASS
|
||||
user quota_notify on nopass ~QW_* -@all +get +hget +ping
|
||||
EOF
|
||||
|
||||
if [ -n "$REDISMASTERPASS" ]; then
|
||||
echo "masterauth $REDISMASTERPASS" >> /redis.conf
|
||||
fi
|
||||
|
||||
exec redis-server /redis.conf
|
||||
Loading…
Add table
Add a link
Reference in a new issue