mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
2a38b57a2a
* add systemd unit as example * mention community yum repo fixes #498 * rename textfile collector dir |
||
---|---|---|
.. | ||
node_exporter.service | ||
README.md | ||
sysconfig.node_exporter |
Systemd Unit
If you are using distribution packages or the copr repository, you don't need to deal with these files!
The unit file in this directory is to be put into /etc/systemd/system
.
It needs a user named node_exporter
, whose shell should be /sbin/nologin
and should not have any special privileges.
It needs a sysconfig file in /etc/sysconfig/node_exporter
.
A sample file can be found in sysconfig.node_exporter
.