Update valkey.sh
This commit is contained in:
parent
4ffadcf0c9
commit
53cdb083d0
24
ct/valkey.sh
24
ct/valkey.sh
@ -20,19 +20,19 @@ color
|
|||||||
catch_errors
|
catch_errors
|
||||||
|
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
if [[ ! -f /lib/systemd/system/valkey-server.service ]]; then
|
if [[ ! -f /lib/systemd/system/valkey-server.service ]]; then
|
||||||
msg_error "No Valkey Installation Found!"
|
msg_error "No Valkey Installation Found!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
msg_info "Updating Valkey LXC"
|
||||||
|
$STD apt update
|
||||||
|
$STD apt -y upgrade
|
||||||
|
msg_ok "Updated Valkey LXC"
|
||||||
|
msg_ok "Updated successfully!"
|
||||||
exit
|
exit
|
||||||
fi
|
|
||||||
msg_info "Updating Valkey LXC"
|
|
||||||
$STD apt update
|
|
||||||
$STD apt -y upgrade
|
|
||||||
msg_ok "Updated Valkey LXC"
|
|
||||||
msg_ok "Updated successfully!"
|
|
||||||
exit
|
|
||||||
}
|
}
|
||||||
|
|
||||||
start
|
start
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user