Files
Genarrative/deploy/systemd/otelcol-contrib.service

23 lines
475 B
Desktop File

[Unit]
Description=Genarrative OpenTelemetry Collector Contrib
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=otelcol
Group=otelcol
WorkingDirectory=/etc/otelcol
ExecStart=/usr/local/bin/otelcol-contrib --config=/etc/otelcol/genarrative-debug.yaml
Restart=always
RestartSec=5
LimitNOFILE=65535
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=full
ReadWritePaths=/etc/otelcol /var/log/genarrative
[Install]
WantedBy=multi-user.target