bitcoind-prometheus-exporter/templates/bitcoind-prometheus-exporter.service.j2
author Luke Hoersten <luke@hoersten.org>
Sun, 30 Aug 2020 14:07:47 -0500
changeset 13 f052a25a2f96
parent 9 ddf84e986362
permissions -rw-r--r--
Update to bitcoind 0.20.1 and lnd 0.11.0

[Unit]
Description=Bitcoind Prometheus Exporter
Wants=bitcoind.service
After=bitcoind.service

[Service]
ExecStart=/usr/local/bin/bitcoind-prometheus-exporter.py
User=prometheus
Environment="BITCOIN_CONF_PATH={{bitcoind_prometheus_exporter_conf}}"

PrivateTmp=true
ProtectSystem=full
NoNewPrivileges=true
PrivateDevices=true
MemoryDenyWriteExecute=true

[Install]
WantedBy=multi-user.target