cluster/services/monitoring: auto-restart grafana

This commit is contained in:
Max Headroom 2023-06-09 18:14:33 +02:00
parent dd7ae319f4
commit bd94d0d868

View file

@ -107,6 +107,7 @@ in
ExecStart = "${consul.package}/bin/consul lock --shell=false services/grafana ${run}";
# consul uses AF_NETLINK to determine interface addresses, even when just registering a service
RestrictAddressFamilies = base.serviceConfig.RestrictAddressFamilies ++ [ "AF_NETLINK" ];
Restart = "on-failure";
};
};
};