bitcoind-prometheus-exporter/templates/bitcoind-prometheus-exporter.service.j2
changeset 9 ddf84e986362
equal deleted inserted replaced
8:fd72f6774874 9:ddf84e986362
       
     1 [Unit]
       
     2 Description=Bitcoind Prometheus Exporter
       
     3 Wants=bitcoind.service
       
     4 After=bitcoind.service
       
     5 
       
     6 [Service]
       
     7 ExecStart=/usr/local/bin/bitcoind-prometheus-exporter.py
       
     8 User=prometheus
       
     9 Environment="BITCOIN_CONF_PATH={{bitcoind_prometheus_exporter_conf}}"
       
    10 
       
    11 PrivateTmp=true
       
    12 ProtectSystem=full
       
    13 NoNewPrivileges=true
       
    14 PrivateDevices=true
       
    15 MemoryDenyWriteExecute=true
       
    16 
       
    17 [Install]
       
    18 WantedBy=multi-user.target