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
|
#!/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
|
# Copyright (c) 2021-2024 tteck
|
||||||
# Author: tteck (tteckster)
|
# Author: tteck (tteckster)
|
||||||
# License: MIT
|
# License: MIT
|
||||||
|
@ -13,7 +13,6 @@ cat <<"EOF"
|
||||||
/ /_/ / _ \/ __ / / ___/
|
/ /_/ / _ \/ __ / / ___/
|
||||||
/ _, _/ __/ /_/ / (__ )
|
/ _, _/ __/ /_/ / (__ )
|
||||||
/_/ |_|\___/\__,_/_/____/
|
/_/ |_|\___/\__,_/_/____/
|
||||||
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
@ -56,7 +55,7 @@ function default_settings() {
|
||||||
|
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
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."
|
msg_error "There is currently no update path available."
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
|
@ -579,7 +579,7 @@ http://dl-cdn.alpinelinux.org/alpine/latest-stable/community
|
||||||
EOF'
|
EOF'
|
||||||
pct exec "$CTID" -- ash -c "apk add bash >/dev/null"
|
pct exec "$CTID" -- ash -c "apk add bash >/dev/null"
|
||||||
fi
|
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