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.

267 B
Raw Blame
package main

import (
	"flag"
	"os"
	"os/signal"
	"syscall"
)

func main() {
	exit := flag.Bool("exit", false, "exit immediately")
	flag.Parse()
	if *exit {
		return
	}
	stop := make(chan os.Signal, 1)
	signal.Notify(stop, syscall.SIGINT, syscall.SIGTERM)
	<-stop
}