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

11 lines
236 B
Plaintext
Raw Normal View History

[Unit]
Description=Node Exporter
[Service]
User=node_exporter
EnvironmentFile=/etc/default/node_exporter
ExecStart=/opt/node_exporter-{{ node_exporter_version }}.linux-amd64/node_exporter $OPTIONS
[Install]
WantedBy=multi-user.target