[Unit] Description=Prometheus Node Exporter After=network.target [Service] User={{ node_exporter_user }} Group={{ node_exporter_user }} ExecStart=/usr/local/bin/node_exporter \ --web.listen-address=":{{ node_exporter_port }}" \ --collector.textfile.directory={{ node_exporter_textfile_dir }} \ --collector.systemd \ --collector.processes \ --collector.rapl Restart=on-failure RestartSec=5s [Install] WantedBy=multi-user.target