Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix(dev): export auth env vars in hot-dev script

rcourtman4e5977f5d911
diff --git a/scripts/hot-dev.sh b/scripts/hot-dev.sh
index bdb9eb04ff..5c0459d7bc 100755
--- a/scripts/hot-dev.sh
+++ b/scripts/hot-dev.sh
@@ -203,10 +203,7 @@ if [[ -f "${ROOT_DIR}/mock.env" ]]; then
fi
if [[ -f /etc/pulse/.env ]] && [[ -r /etc/pulse/.env ]]; then
- set +u
- # shellcheck disable=SC1091
- source /etc/pulse/.env 2>/dev/null || true
- set -u
+ load_env_file "/etc/pulse/.env"
echo "Auth configuration loaded from /etc/pulse/.env"
fi