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 bootstrap-token command to use correct env var and default path

rcourtmanb29a830046d3
diff --git a/cmd/pulse/bootstrap.go b/cmd/pulse/bootstrap.go
index 4437c5b2f7..81fa364701 100644
--- a/cmd/pulse/bootstrap.go
+++ b/cmd/pulse/bootstrap.go
@@ -24,12 +24,12 @@ after successful setup completion.`,
func showBootstrapToken() {
// Determine data path (same logic as main server)
- dataPath := os.Getenv("PULSE_DATA_PATH")
+ dataPath := os.Getenv("PULSE_DATA_DIR")
if dataPath == "" {
if os.Getenv("PULSE_DOCKER") == "true" {
dataPath = "/data"
} else {
- dataPath = "/var/lib/pulse"
+ dataPath = "/etc/pulse"
}
}