1 # apparently alertmanager failes to start when the internet is down:
2 # 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"
5 # needed to continually restart
6 StartLimitIntervalSec=0
10 # time to sleep before restarting a service
13 # empty signifies to replace the existing value
15 ExecStart=/usr/local/bin/alertmanager $ARGS