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
master
Dustin 2024-02-17 21:19:38 -06:00
parent 011058aec3
commit 4608f19724
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ Wants=network-online.target
[Service] [Service]
StateDirectory=%P StateDirectory=%P
ExecReload=/usr/bin/podman kill --cidfile=%t/%N.cid --signal HUP
[Container] [Container]
Image=docker.io/grafana/loki:2.9.4 Image=docker.io/grafana/loki:2.9.4