Add header_info function call in qbittorrent-exporter.sh

This commit is contained in:
Tobias 2025-11-21 10:01:51 +01:00 committed by GitHub
parent 1cc22bd070
commit b259fa373b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,13 +6,13 @@
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func) source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func)
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func) source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
header_info
APP="qbittorrent-exporter" APP="qbittorrent-exporter"
INSTALL_PATH="/opt/qbittorrent-exporter/src/qbittorrent-exporter" INSTALL_PATH="/opt/qbittorrent-exporter/src/qbittorrent-exporter"
CONFIG_PATH="/opt/qbittorrent-exporter.env" CONFIG_PATH="/opt/qbittorrent-exporter.env"
SRC_DIR="/" SRC_DIR="/"
TMP_BIN="/tmp/qbittorrent-exporter.$$" TMP_BIN="/tmp/qbittorrent-exporter.$$"
header_info
# Get primary IP # Get primary IP
IFACE=$(ip -4 route | awk '/default/ {print $5; exit}') IFACE=$(ip -4 route | awk '/default/ {print $5; exit}')