diff --git a/distributions/otelcol-contrib/otelcol-contrib.service b/distributions/otelcol-contrib/otelcol-contrib.service index 0dc539ad..453a5713 100644 --- a/distributions/otelcol-contrib/otelcol-contrib.service +++ b/distributions/otelcol-contrib/otelcol-contrib.service @@ -4,7 +4,7 @@ After=network.target [Service] EnvironmentFile=/etc/otelcol-contrib/otelcol-contrib.conf -ExecStart=/usr/local/bin/otelcol-contrib $OTELCOL_OPTIONS +ExecStart=/usr/bin/otelcol-contrib $OTELCOL_OPTIONS KillMode=mixed Restart=on-failure Type=simple diff --git a/distributions/otelcol/otelcol.service b/distributions/otelcol/otelcol.service index 62ee5d89..f3c4e62e 100644 --- a/distributions/otelcol/otelcol.service +++ b/distributions/otelcol/otelcol.service @@ -4,7 +4,7 @@ After=network.target [Service] EnvironmentFile=/etc/otelcol/otelcol.conf -ExecStart=/usr/local/bin/otelcol $OTELCOL_OPTIONS +ExecStart=/usr/bin/otelcol $OTELCOL_OPTIONS KillMode=mixed Restart=on-failure Type=simple