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