Remove old resource message from vaultwarden (#402)

This commit is contained in:
Håvard Gjøby Thom 2024-11-21 22:27:33 +01:00 committed by GitHub
parent ac67616fe5
commit 119bf4e183
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,6 +53,9 @@ function default_settings() {
} }
function update_script() { function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /etc/systemd/system/vaultwarden.service ]]; then if [[ ! -f /etc/systemd/system/vaultwarden.service ]]; then
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
@ -71,9 +74,6 @@ function update_script() {
"3" "Set Admin Token" OFF \ "3" "Set Admin Token" OFF \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
header_info
check_container_storage
check_container_resources
if [ "$UPD" == "1" ]; then if [ "$UPD" == "1" ]; then
msg_info "Stopping Vaultwarden" msg_info "Stopping Vaultwarden"
systemctl stop vaultwarden.service systemctl stop vaultwarden.service
@ -101,7 +101,6 @@ function update_script() {
msg_ok "Started Vaultwarden" msg_ok "Started Vaultwarden"
msg_ok "$VAULT Update Successful" msg_ok "$VAULT Update Successful"
echo -e "\n ⚠️ Ensure you set resources back to normal settings \n"
exit exit
fi fi
if [ "$UPD" == "2" ]; then if [ "$UPD" == "2" ]; then