From 4608f19724d6cbcf49b548b66c899216711f5278 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 17 Feb 2024 21:19:38 -0600 Subject: [PATCH] loki: Add ExecReload to systemd service unit According to the [Grafana Loki documentation][0], sending SIGHUP to the Loki process will instruct it to reload its configuration. This is necessary in order for it to re-read its server certificate after it has been renewed. [0]: https://grafana.com/docs/loki/latest/configure/#reload-at-runtime --- templates/loki/loki.container | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/loki/loki.container b/templates/loki/loki.container index e3f31e9..98956bc 100644 --- a/templates/loki/loki.container +++ b/templates/loki/loki.container @@ -6,6 +6,7 @@ Wants=network-online.target [Service] StateDirectory=%P +ExecReload=/usr/bin/podman kill --cidfile=%t/%N.cid --signal HUP [Container] Image=docker.io/grafana/loki:2.9.4