node_exporter/examples/systemd/node_exporter.service

11 lines
189 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Node Exporter
[Service]
User=node_exporter
EnvironmentFile=/etc/sysconfig/node_exporter
ExecStart=/usr/sbin/node_exporter $OPTIONS
[Install]
WantedBy=multi-user.target