summarylogtreecommitdiffstats
path: root/otelcol.service
blob: f3c4e62e9e4249a62e62121c5e33481b99704d4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=OpenTelemetry Collector
After=network.target

[Service]
EnvironmentFile=/etc/otelcol/otelcol.conf
ExecStart=/usr/bin/otelcol $OTELCOL_OPTIONS
KillMode=mixed
Restart=on-failure
Type=simple
User=otel
Group=otel

[Install]
WantedBy=multi-user.target