diff options
author | Roger Coll | 2023-08-30 22:24:13 +0200 |
---|---|---|
committer | Roger Coll | 2023-08-30 22:24:13 +0200 |
commit | 504f5b1867d0d11ebac62a806d8ba519b69a1918 (patch) | |
tree | 28afa2cc35aed42d1bcc240b4fa76faed8bcd56f /otelcol-contrib.service | |
download | aur-504f5b1867d0d11ebac62a806d8ba519b69a1918.tar.gz |
feat: init otelcol-contrib package
Diffstat (limited to 'otelcol-contrib.service')
-rw-r--r-- | otelcol-contrib.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/otelcol-contrib.service b/otelcol-contrib.service new file mode 100644 index 000000000000..453a571392f2 --- /dev/null +++ b/otelcol-contrib.service @@ -0,0 +1,15 @@ +[Unit] +Description=OpenTelemetry Collector Contrib +After=network.target + +[Service] +EnvironmentFile=/etc/otelcol-contrib/otelcol-contrib.conf +ExecStart=/usr/bin/otelcol-contrib $OTELCOL_OPTIONS +KillMode=mixed +Restart=on-failure +Type=simple +User=otelcol-contrib +Group=otelcol-contrib + +[Install] +WantedBy=multi-user.target |