blob: 2d101b66f1084ba8a1f97c069d49b4cd499d3aa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[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
|