try w/ protected-mode enabled

This commit is contained in:
pshankinclarke 2025-12-01 15:03:19 -08:00
parent 05169d52f5
commit 193e120fce

View File

@ -21,7 +21,6 @@ PASS="$(openssl rand -base64 48 | tr -dc 'a-zA-Z0-9' | head -c32)"
echo "requirepass $PASS" >> /etc/valkey/valkey.conf
echo "$PASS" >/root/valkey_pass.txt
chmod 600 /root/valkey_pass.txt
sed -i 's/^protected-mode .*/protected-mode no/' /etc/valkey/valkey.conf
systemctl enable -q --now valkey-server
systemctl restart valkey-server
msg_ok "Installed Valkey"