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-runtimemaster
parent
011058aec3
commit
4608f19724
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue