apply redis configuration after restore

This commit is contained in:
sadnub 2021-06-06 22:58:32 -04:00
parent dd545ae933
commit 069ecdd33f
1 changed files with 3 additions and 0 deletions

View File

@ -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