ЛР 5 — БВТ2303 — Брезгунова — на 5

This commit is contained in:
2026-11-13 13:10:15 +03:00
parent 276dbdad8a
commit ab9161be3d
64 changed files with 5191 additions and 34 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
set -eu
umask 077
cat > /tmp/redis.conf <<EOF
bind 0.0.0.0
protected-mode yes
requirepass $(cat /run/secrets/broker_password)
dir /data
appendonly yes
appendfsync always
save ""
maxmemory 128mb
maxmemory-policy noeviction
EOF
exec redis-server /tmp/redis.conf