Add options

This commit is contained in:
CanbiZ
2025-03-03 12:57:49 +01:00
parent 6ee3b1c05a
commit f25b57510c
14 changed files with 283 additions and 396 deletions

View File

@@ -1,8 +1,9 @@
#!/usr/bin/env bash
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: MickLesk (Canbiz)
# Author: MickLesk (CanbiZ)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source:
APP="healthchecks"
var_tags="monitoring"
@@ -11,7 +12,7 @@ var_ram="4096"
var_disk="20"
var_os="debian"
var_version="12"
var_unprivileged="0"
var_unprivileged="1"
header_info "$APP"
variables
@@ -19,15 +20,15 @@ color
catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /etc/systemd/system/healthchecks.service ]]; then
msg_error "No ${APP} Installation Found!"
header_info
check_container_storage
check_container_resources
if [[ ! -f /etc/systemd/system/healthchecks.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_error "No Update."
exit
fi
msg_error "No Update."
exit
}
start