package-pipelines-miscellan.../prometheus2influxdb/prometheus2influxdb.service

13 lines
262 B
SYSTEMD
Raw Permalink Normal View History

2023-12-05 23:40:22 +01:00
[Unit]
Description=Prometheus to InfluxDB Pushgateway
[Service]
Type=oneshot
ExecStart=/usr/bin/prometheus2influxdb.py $ARGS
User=prometheus2influxdb
EnvironmentFile=-/etc/default/prometheus2influxdb
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=tmpfs