ansible/roles/node_exporter/templates/node_exporter.service.j2

11 lines
208 B
Django/Jinja

[Unit]
Description=NodeExporter
[Service]
TimeoutStartSec=0
User=node_exporter
ExecStart={{ bin_path }} --web.listen-address={{ host.ip }}:{{ bind_port }} {{ options }}
[Install]
WantedBy=multi-user.target