From 6064ddf446e8ab3ecdc16017ecf1cc83deebe980 Mon Sep 17 00:00:00 2001 From: Madhur Ahuja Date: Sat, 20 Jan 2024 20:15:56 +0530 Subject: [PATCH] feat: address redis lxc --- ct/redis.sh | 5 ++--- misc/build.func | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ct/redis.sh b/ct/redis.sh index d0303bfa..fedf721c 100644 --- a/ct/redis.sh +++ b/ct/redis.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/madhur/Proxmox/redis/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -13,7 +13,6 @@ cat <<"EOF" / /_/ / _ \/ __ / / ___/ / _, _/ __/ /_/ / (__ ) /_/ |_|\___/\__,_/_/____/ - EOF } @@ -56,7 +55,7 @@ function default_settings() { function update_script() { header_info -if [[ ! -f /etc/systemd/system/redis.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi +if [[ ! -f /lib/systemd/system/redis-server.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi msg_error "There is currently no update path available." exit } diff --git a/misc/build.func b/misc/build.func index 3ede73fd..ef3eec77 100644 --- a/misc/build.func +++ b/misc/build.func @@ -579,7 +579,7 @@ http://dl-cdn.alpinelinux.org/alpine/latest-stable/community EOF' pct exec "$CTID" -- ash -c "apk add bash >/dev/null" fi - lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/madhur/Proxmox/redis/install/$var_install.sh)" || exit + lxc-attach -n "$CTID" -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit }