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

12 lines
248 B
Django/Jinja

[Unit]
Description=Node Exporter
[Service]
Type=simple
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