Skip to content

Commit 4464f3e

Browse files
authored
Fix systemd unit file for otelcol (#36)
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
1 parent 24a0eee commit 4464f3e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

distributions/otelcol/otelcol.conf

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Systemd environment file for the opentelemetry-collector service
1+
# Systemd environment file for the otelcol service
22

3-
# Command-line options for the opentelemetry-collector service.
4-
# Run `/usr/bin/opentelemetry-collector --help` to see all available options.
5-
OTELCOL_OPTIONS="--config=/etc/opentelemetry-collector/config.yaml"
3+
# Command-line options for the otelcol service.
4+
# Run `/usr/bin/otelcol --help` to see all available options.
5+
OTELCOL_OPTIONS="--config=/etc/otelcol/config.yaml"

distributions/otelcol/otelcol.service

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Description=OpenTelemetry Collector
33
After=network.target
44

55
[Service]
6-
EnvironmentFile=/etc/opentelemetry-collector/otelcol.conf
6+
EnvironmentFile=/etc/otelcol/otelcol.conf
77
ExecStart=/usr/local/bin/otelcol $OTELCOL_OPTIONS
88
KillMode=mixed
99
Restart=on-failure

0 commit comments

Comments
 (0)