system/systemd/node_exporter.service

13 lines
234 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Prometheus Node Exporter
After=network.target
[Service]
User=node_exporter
Group=prometheus
Type=simple
ExecStart=/opt/node_exporter/node_exporter --web.listen-address=":9200"
[Install]
WantedBy=multi-user.target