diff --git a/ct/redis.sh b/ct/redis.sh index fedf721c..ba5253b0 100644 --- a/ct/redis.sh +++ b/ct/redis.sh @@ -8,7 +8,8 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - ____ ___ + + ____ ___ / __ \___ ____/ (_)____ / /_/ / _ \/ __ / / ___/ / _, _/ __/ /_/ / (__ ) diff --git a/install/redis-install.sh b/install/redis-install.sh index f61419e7..331da063 100644 --- a/install/redis-install.sh +++ b/install/redis-install.sh @@ -19,17 +19,15 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y apt-transport-https $STD apt-get install -y gnupg -$STD apt-get install -y lsb-release msg_ok "Installed Dependencies" msg_info "Installing Redis" curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg -echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list +echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(grep '^VERSION_CODENAME=' /etc/os-release | cut -d'=' -f2) main" | sudo tee /etc/apt/sources.list.d/redis.list $STD apt-get update $STD apt-get install -y redis sed -i 's/^bind .*/bind 0.0.0.0/' /etc/redis/redis.conf -systemctl enable -q redis-server.service -systemctl restart -q redis-server.service +systemctl enable -q --now redis-server.service msg_ok "Installed Redis" motd_ssh