13 lines
262 B
SYSTEMD
13 lines
262 B
SYSTEMD
|
[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
|