diff --git a/distributions/otelcol-contrib/otelcol-contrib.service b/distributions/otelcol-contrib/otelcol-contrib.service index 453a57139..974058d72 100644 --- a/distributions/otelcol-contrib/otelcol-contrib.service +++ b/distributions/otelcol-contrib/otelcol-contrib.service @@ -5,6 +5,7 @@ After=network.target [Service] EnvironmentFile=/etc/otelcol-contrib/otelcol-contrib.conf ExecStart=/usr/bin/otelcol-contrib $OTELCOL_OPTIONS +ExecReload=/bin/kill -HUP $MAINPID KillMode=mixed Restart=on-failure Type=simple diff --git a/distributions/otelcol-otlp/otelcol-otlp.service b/distributions/otelcol-otlp/otelcol-otlp.service index bb7ea348c..2f3c6bebf 100644 --- a/distributions/otelcol-otlp/otelcol-otlp.service +++ b/distributions/otelcol-otlp/otelcol-otlp.service @@ -5,6 +5,7 @@ After=network.target [Service] EnvironmentFile=/etc/otelcol-otlp/otelcol-otlp.conf ExecStart=/usr/bin/otelcol-otlp $OTELCOL_OPTIONS +ExecReload=/bin/kill -HUP $MAINPID KillMode=mixed Restart=on-failure Type=simple diff --git a/distributions/otelcol/otelcol.service b/distributions/otelcol/otelcol.service index f3c4e62e9..8e96c36be 100644 --- a/distributions/otelcol/otelcol.service +++ b/distributions/otelcol/otelcol.service @@ -5,6 +5,7 @@ After=network.target [Service] EnvironmentFile=/etc/otelcol/otelcol.conf ExecStart=/usr/bin/otelcol $OTELCOL_OPTIONS +ExecReload=/bin/kill -HUP $MAINPID KillMode=mixed Restart=on-failure Type=simple