X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fsystemd%2Fsystem%2Fprometheus-alertmanager.d%2Frestart.conf;fp=filesystem%2Fetc%2Fsystemd%2Fsystem%2Fprometheus-alertmanager.d%2Frestart.conf;h=0000000000000000000000000000000000000000;hb=2a1cee2e73d9291dde9af831bbe9e996199b7cbc;hp=403672ea2a0839550b0535597ccf40a6e595b8f1;hpb=935d88c091765b6aafdfc9f3d62d0dc377e5ff93;p=distro-setup 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 index 403672e..0000000 --- a/filesystem/etc/systemd/system/prometheus-alertmanager.d/restart.conf +++ /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