From 069ecdd33f31cd6443228c674d4030a53c3dae0a Mon Sep 17 00:00:00 2001 From: sadnub Date: Sun, 6 Jun 2021 22:58:32 -0400 Subject: [PATCH] apply redis configuration after restore --- restore.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/restore.sh b/restore.sh index 52fa08e3..c28caffc 100755 --- a/restore.sh +++ b/restore.sh @@ -193,6 +193,9 @@ sudo apt install -y ca-certificates redis git sudo tar -xzf ${tmp_dir}/redis/etc-redis.tar.gz -C /var/lib/redis sudo redis-check-aof --fix /var/lib/redis/appendonly.aof +sudo redis-cli config set appendonly yes +sudo redis-cli config rewrite + print_green 'Installing postgresql' echo "$postgresql_repo" | sudo tee /etc/apt/sources.list.d/pgdg.list