mirror of https://github.com/tteck/Proxmox.git
feat: address redis lxc
This commit is contained in:
parent
47e9f0e6d0
commit
6064ddf446
|
@ -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
|
||||
|
@ -14,7 +14,6 @@ cat <<"EOF"
|
|||
/ _, _/ __/ /_/ / (__ )
|
||||
/_/ |_|\___/\__,_/_/____/
|
||||
|
||||
|
||||
EOF
|
||||
}
|
||||
header_info
|
||||
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue