mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
For our development setup we run a redis container without a username/password. Redis recently set protected mode by default which disallows this, turn it off as it has no security implication.
7 lines
179 B
Bash
Executable file
7 lines
179 B
Bash
Executable file
#!/bin/bash
|
|
set -eou pipefail
|
|
|
|
sed -ri 's/^bind .*$/bind 0.0.0.0 -::1/g' /etc/redis/redis.conf
|
|
sed -ri 's/protected-mode yes/protected-mode no/g' /etc/redis/redis.conf
|
|
|
|
exec "$@"
|