mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-12-13 01:45:59 +00:00
13 lines
241 B
Bash
Executable File
13 lines
241 B
Bash
Executable File
#!/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
|