mostly fixes and improvements
[distro-setup] / filesystem / etc / systemd / system / prometheus-alertmanager.d / restart.conf
diff --git a/filesystem/etc/systemd/system/prometheus-alertmanager.d/restart.conf b/filesystem/etc/systemd/system/prometheus-alertmanager.d/restart.conf
deleted file mode 100644 (file)
index 403672e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# apparently alertmanager failes to start when the internet is down:
-# Mar 10 13:20:09 kd prometheus-alertmanager[2719]: level=error ts=2022-03-10T18:20:09.907Z caller=main.go:243 msg="unable to initialize gossip mesh" err="create memberlist: Failed to get final advertise address: No private IP address found, and explicit IP not provided"
-
-[Unit]
-# needed to continually restart
-StartLimitIntervalSec=0
-
-[Service]
-Restart=always
-# time to sleep before restarting a service
-RestartSec=300